summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCate <cate@cate-6sh2.(none)>2011-07-11 17:55:51 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-07-12 13:00:20 (GMT)
commit7036af066bccd705847dd2b3b64a14ae7501e45a (patch)
treeba317a5891b59965dbe465b9e07f60002a62384f /src
parentd42e06f37a93475a09cd2908849b2f33a50513ac (diff)
downloadpowder-7036af066bccd705847dd2b3b64a14ae7501e45a.zip
powder-7036af066bccd705847dd2b3b64a14ae7501e45a.tar.gz
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 @_@;)
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)