summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c
index dc00b17..1f3865e 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -2066,7 +2066,7 @@ void draw_parts(pixel *vid)
blendpixel(vid, nx, ny, cr, cg, cb, 255);
}
- if(t==PT_LIFE && parts[i].ctype < NGOLALT){
+ else if (t==PT_LIFE && parts[i].ctype < NGOLALT) {
if (parts[i].ctype==NGT_LOTE)//colors for life states
{
if (parts[i].tmp==2)