diff options
| author | Simon <simon@hardwired.org.uk> | 2010-10-05 17:48:40 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2010-10-05 17:48:40 (GMT) |
| commit | 38742f08ba1ea0c5a4f6194bba3949a149825bb2 (patch) | |
| tree | ac93cb329d0febe63762a97d04c82095705434ee /src/main.c | |
| parent | 6627e418b2fd887c7125537930a4c40731d698af (diff) | |
| download | powder-38742f08ba1ea0c5a4f6194bba3949a149825bb2.zip powder-38742f08ba1ea0c5a4f6194bba3949a149825bb2.tar.gz | |
Fixed Powered clone saving and suitibility as a light emitter. Fixed Photons igniting Insulator
Diffstat (limited to 'src/main.c')
| -rwxr-xr-x | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -322,7 +322,7 @@ void *build_save(int *size, int x0, int y0, int w, int h) for(j=0; j<w*h; j++) { i = m[j]; - if(i && (parts[i-1].type==PT_CLNE || parts[i-1].type==PT_SPRK || parts[i-1].type==PT_LAVA)) + if(i && (parts[i-1].type==PT_CLNE || parts[i-1].type==PT_PCLN || parts[i-1].type==PT_SPRK || parts[i-1].type==PT_LAVA)) d[p++] = parts[i-1].ctype; } @@ -636,7 +636,7 @@ int parse_save(void *save, int size, int replace, int x0, int y0) { i = m[j]; ty = d[pty+j]; - if(i && (ty==PT_CLNE || (ty==PT_SPRK && ver>=21) || (ty==PT_LAVA && ver>=34))) + if(i && (ty==PT_CLNE || (ty==PT_PCLN && ver>=43) || (ty==PT_SPRK && ver>=21) || (ty==PT_LAVA && ver>=34))) { if(p >= size) goto corrupt; |
