diff options
Diffstat (limited to 'src/graphics.c')
| -rw-r--r-- | src/graphics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics.c b/src/graphics.c index fe153ec..8a52e16 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1498,8 +1498,8 @@ void draw_parts(pixel *vid) if (t==PT_SOAP) { - //if ((parts[i].ctype&0x01 == 0x01) && (parts[i].ctype&0x02 == 0x02)) - // 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 (((parts[i].ctype&1) == 1) && ((parts[i].ctype&2) == 2)) + 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 (cmode!=CM_HEAT) |
