diff options
| author | Felix Wallin <nibbler.v1@gmail.com> | 2010-08-17 12:55:38 (GMT) |
|---|---|---|
| committer | Felix Wallin <nibbler.v1@gmail.com> | 2010-08-17 12:55:38 (GMT) |
| commit | 5f46d7e63ec9d2a70f8b493a967ce4dbb01ab071 (patch) | |
| tree | 586c6a2dc10d086843e63841e8fb03e1407e3ee4 | |
| parent | 7076587196cdcb16a34f022bc0af6a34dbb77afc (diff) | |
| download | powder-5f46d7e63ec9d2a70f8b493a967ce4dbb01ab071.zip powder-5f46d7e63ec9d2a70f8b493a967ce4dbb01ab071.tar.gz | |
fixed acid
| -rwxr-xr-x | powder.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1025,7 +1025,7 @@ inline int create_part(int p, int x, int y, int t) { parts[i].pavg[1] = pv[y/CELL][x/CELL]; } - else if(t!=PT_STKM) + if(t!=PT_STKM) { parts[i].x = (float)x; parts[i].y = (float)y; @@ -1036,7 +1036,7 @@ inline int create_part(int p, int x, int y, int t) parts[i].ctype = 0; parts[i].temp = ptypes[t].heat; } - else if(t==PT_ACID) + if(t==PT_ACID) { parts[i].life = 75; } |
