summaryrefslogtreecommitdiff
path: root/src/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.c')
-rw-r--r--src/graphics.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c
index 83b1141..f259a89 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -1568,7 +1568,8 @@ void draw_parts(pixel *vid)
blendpixel(vid, nx-1, ny-1, cr, cg, cb, 32);
}
}
- else if(t==PT_SWCH && parts[i].life == 10)
+ //Life can be 11 too, so don't just check for 10
+ else if(t==PT_SWCH && parts[i].life >= 10)
{
x = nx;
y = ny;