diff options
Diffstat (limited to 'src/graphics.c')
| -rw-r--r-- | src/graphics.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/graphics.c b/src/graphics.c index 3cd3b8d..ed60df1 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1723,6 +1723,16 @@ void draw_parts(pixel *vid) if ((parts[i].ctype&7) == 7) draw_line(vid, nx, ny, (int)(parts[parts[i].tmp].x+0.5f), (int)(parts[parts[i].tmp].y+0.5f), 245, 245, 220, XRES+BARSIZE); } + + if(t==PT_WIRE) + { + if (parts[i].ctype==0) + blendpixel(vid, nx, ny, 255, 204, 0, 255); + else if(parts[i].ctype==1) + blendpixel(vid, nx, ny, 0, 0, 255, 255); + else + blendpixel(vid, nx, ny, 255, 255, 255, 255); + } if (cmode!=CM_HEAT) { |
