From 7968e37b4ee0cf834439651c5623bff01c4cf415 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 7 Dec 2010 18:00:55 +0000 Subject: Fix 'Nothing' display' diff --git a/src/graphics.c b/src/graphics.c index f0c1321..dc9d40a 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1409,7 +1409,7 @@ void draw_parts(pixel *vid) cb = PIXB(ptypes[t].pcolors); blendpixel(vid, nx, ny, cr, cg, cb, 255); } - if(cmode==CM_GRAD) + else if(cmode==CM_GRAD) { float frequency = 0.05; int q = parts[i].temp; -- cgit v0.9.2-21-gd62e