summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix 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)
commit5f46d7e63ec9d2a70f8b493a967ce4dbb01ab071 (patch)
tree586c6a2dc10d086843e63841e8fb03e1407e3ee4
parent7076587196cdcb16a34f022bc0af6a34dbb77afc (diff)
downloadpowder-5f46d7e63ec9d2a70f8b493a967ce4dbb01ab071.zip
powder-5f46d7e63ec9d2a70f8b493a967ce4dbb01ab071.tar.gz
fixed acid
-rwxr-xr-xpowder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/powder.c b/powder.c
index 113e303..8d63375 100755
--- a/powder.c
+++ b/powder.c
@@ -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;
}