diff options
Diffstat (limited to 'apps/plugins/chopper.c')
-rw-r--r-- | apps/plugins/chopper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/chopper.c b/apps/plugins/chopper.c index d636b2db4e..1fec7bb1ab 100644 --- a/apps/plugins/chopper.c +++ b/apps/plugins/chopper.c | |||
@@ -204,7 +204,7 @@ static void chopDrawPlayer(int x,int y) /* These are SCREEN coords, not world! * | |||
204 | 204 | ||
205 | static void chopClearTerrain(struct CTerrain *ter) | 205 | static void chopClearTerrain(struct CTerrain *ter) |
206 | { | 206 | { |
207 | ter->iNodesCount = -1; | 207 | ter->iNodesCount = 0; |
208 | } | 208 | } |
209 | 209 | ||
210 | 210 | ||
@@ -381,7 +381,7 @@ static void chopAddParticle(int x,int y,int sx,int sy) | |||
381 | while(mParticles[i].bIsActive && i < NUMBER_OF_PARTICLES) | 381 | while(mParticles[i].bIsActive && i < NUMBER_OF_PARTICLES) |
382 | i++; | 382 | i++; |
383 | 383 | ||
384 | if(i==NUMBER_OF_BLOCKS) | 384 | if(i==NUMBER_OF_PARTICLES) |
385 | return; | 385 | return; |
386 | 386 | ||
387 | mParticles[i].bIsActive = 1; | 387 | mParticles[i].bIsActive = 1; |