From 49a1baffe2b40275791b6a20af780d9779e8c986 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 19 Dec 2010 14:32:40 +0000 Subject: [PATCH] Correct file --- src/powder.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/powder.c b/src/powder.c index 5c9ae8e49..eed6d382f 100644 --- a/src/powder.c +++ b/src/powder.c @@ -1135,16 +1135,16 @@ void update_particles_i(pixel *vid, int start, int inc) for(i=start; i<(NPART-starti); i+=inc) if(parts[i].type) { - if (parts[i].update_func) + lx = parts[i].x; + ly = parts[i].y; + t = parts[i].type; + if (ptypes[t].update_func) { - if (parts[i].update_func (i)) + if (ptypes[t].update_func (i)) goto killed; } //printf("parts[%d].type: %d\n", i, parts[i].type); - lx = parts[i].x; - ly = parts[i].y; - t = parts[i].type; if(parts[i].life && t!=PT_ACID && t!=PT_COAL && t!=PT_WOOD && t!=PT_NBLE && t!=PT_SWCH && t!=PT_STKM && t!=PT_FUSE && t!=PT_FSEP && t!=PT_BCOL && t!=PT_GOL && t!=PT_CRAC && t!=PT_DEUT) {