From 7036af066bccd705847dd2b3b64a14ae7501e45a Mon Sep 17 00:00:00 2001 From: Cate Date: Tue, 12 Jul 2011 01:55:51 +0800 Subject: [PATCH] Fixed quartz colors due to missing Else before an If in graphics.c Thanks Savask. :D (I would have moved ifs around in a much less pleasant way @_@;) --- src/graphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics.c b/src/graphics.c index dc00b1739..1f3865e72 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)