summaryrefslogtreecommitdiff
path: root/src/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.c')
-rw-r--r--src/graphics.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/graphics.c b/src/graphics.c
index c56d067..8bd9c28 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -1328,8 +1328,14 @@ void draw_parts(pixel *vid)
nx = (int)(parts[i].x+0.5f);
ny = (int)(parts[i].y+0.5f);
-
- if(cmode!=CM_HEAT)
+ if(cmode==7)//nothing display
+ {
+ cr = PIXR(ptypes[t].pcolors);
+ cg = PIXG(ptypes[t].pcolors);
+ cb = PIXB(ptypes[t].pcolors);
+ blendpixel(vid, nx, ny, cr, cg, cb, 255);
+ }
+ else if(cmode!=CM_HEAT)
{
if(t==PT_STKM) //Just draw head here
{