summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 75e1912..bb57fc6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -102,7 +102,6 @@ int death = 0, framerender = 0;
int amd = 1;
int FPSB = 0;
int MSIGN =-1;
-int NGOL = 0;
int CGOL = 0;
int GSPEED = 0;
@@ -521,8 +520,14 @@ int parse_save(void *save, int size, int replace, int x0, int y0)
{
k = pmap[y][x]>>8;
parts[k].type = j;
- if(j ==PT_GOL)
+ if(j == PT_GOL)
gol[x][y] = 1;
+ if(j == PT_HLIF)
+ gol[x][y] = 2;
+ if(j == PT_ASIM)
+ gol[x][y] = 3;
+ if(j == PT_2x2)
+ gol[x][y] = 4;
if(j == PT_PHOT)
parts[k].ctype = 0x3fffffff;
parts[k].x = (float)x;