diff options
| author | savask <savask@yandex.ru> | 2011-04-21 02:19:44 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-05-05 19:24:21 (GMT) |
| commit | 3ea306cc771bbaefa01058c810fc1dd041a17641 (patch) | |
| tree | 215bea93ce9845e94bf53f71faa85482e8ae694a /src/graphics.c | |
| parent | 5aefd0cb01facdda852960c03489991461aaed62 (diff) | |
| download | powder-3ea306cc771bbaefa01058c810fc1dd041a17641.zip powder-3ea306cc771bbaefa01058c810fc1dd041a17641.tar.gz | |
Some changes to soap.
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) |
