summaryrefslogtreecommitdiff
path: root/src/graphics.c
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2010-12-22 18:17:06 (GMT)
committer Simon <simon@hardwired.org.uk>2010-12-22 18:17:06 (GMT)
commitbd9b01c3e21bde2065193a48bd7d4f9678de765e (patch)
tree14e4800b2a4e5a3ea7ed627f6eb201f85a06b7f2 /src/graphics.c
parent69b0aa9eccbdbf947b84d2a4e09a18e68e947664 (diff)
parent321c57058105a473b59e858c67cfa878a6e20d41 (diff)
downloadpowder-bd9b01c3e21bde2065193a48bd7d4f9678de765e.zip
powder-bd9b01c3e21bde2065193a48bd7d4f9678de765e.tar.gz
Cracker Merge
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 3ea4c9c..3eb7e18 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -1641,7 +1641,7 @@ void draw_parts(pixel *vid)
cg = sin(frequency*q + 2) * 127 + 128;
cb = sin(frequency*q + 4) * 127 + 128;
blendpixel(vid, nx, ny, cr, cg, cb, 255);
- if(mousex==(nx) && mousey==(ny))
+ if(mousex==(nx) && mousey==(ny) && DEBUG_MODE)
{
int z;
for(z = 0; z<NPART; z++) {