summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFacialTurd <simon@hardwired.org.uk>2010-11-10 20:58:51 (GMT)
committer FacialTurd <simon@hardwired.org.uk>2010-11-10 20:58:51 (GMT)
commit887d4104404bc886d703241f49f1f79c6f196ffc (patch)
tree49366834a309a589c97b15ce0ae1c4fa8a09a51e /src
parent8760a2b2a907b4f2e200914bf44acc55283092e5 (diff)
downloadpowder-887d4104404bc886d703241f49f1f79c6f196ffc.zip
powder-887d4104404bc886d703241f49f1f79c6f196ffc.tar.gz
Fix for Antimatter
Diffstat (limited to 'src')
-rw-r--r--src/powder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/powder.c b/src/powder.c
index 98e4853..ee7e268 100644
--- a/src/powder.c
+++ b/src/powder.c
@@ -1929,15 +1929,15 @@ void update_particles_i(pixel *vid, int start, int inc)
{
parts[i].type = PT_NONE;
kill_part(i);
- goto killed;
+ goto killed;
}
parts[r>>8].life = 0;
parts[r>>8].type = PT_NONE;
kill_part(r>>8);
if(2>(rand()/(RAND_MAX/100)))
- create_part(r>>8, x+nx, y+ny, PT_PHOT);
+ create_part(-1, x+nx, y+ny, PT_PHOT);
pv[y/CELL][x/CELL] -= 5.0f;
- goto killed;
+ //goto killed;
}
}
}