summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}
}
}