summaryrefslogtreecommitdiff
path: root/src/graphics.c
diff options
context:
space:
mode:
authorCracker64 <cracker642@gmail.com>2010-12-06 02:56:46 (GMT)
committer Cracker64 <cracker642@gmail.com>2010-12-06 02:56:46 (GMT)
commitefb7c6bc9c1524314b67bf10ee821eefe65e2aeb (patch)
treef7c57489018eaab4ffd3f11f27396042e0283e33 /src/graphics.c
parent2cf25c8a6aad84b2f86060e791948a0aed307192 (diff)
downloadpowder-efb7c6bc9c1524314b67bf10ee821eefe65e2aeb.zip
powder-efb7c6bc9c1524314b67bf10ee821eefe65e2aeb.tar.gz
updated with simon's changes
Diffstat (limited to 'src/graphics.c')
-rw-r--r--src/graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c
index 5476bf7..bba3890 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;