summaryrefslogtreecommitdiff
path: root/src/graphics.c
diff options
context:
space:
mode:
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 a5593a2..0b8b8f8 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -1583,7 +1583,7 @@ void draw_parts(pixel *vid)
if (t==PT_SOAP)
{
- if (((parts[i].ctype&1) == 1) && ((parts[i].ctype&2) == 2))
+ 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);
}