summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-11-18 22:22:02 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-11-18 22:22:02 (GMT)
commit8c6e7caaff883f9c7df111df65737547bd280c7a (patch)
tree9bd040d3222ac49ce2d7b478b95666bfaffcdecf /src
parent0ed3ca771e434f0dd041c4377d4a35c0c977adf1 (diff)
downloadpowder-8c6e7caaff883f9c7df111df65737547bd280c7a.zip
powder-8c6e7caaff883f9c7df111df65737547bd280c7a.tar.gz
Fix draw_other effects logic
Diffstat (limited to 'src')
-rw-r--r--src/graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c
index 2f2c367..4142815 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -1654,7 +1654,7 @@ void draw_other(pixel *vid) // EMP effect
if (emp_decor>0 && !sys_pause) emp_decor-=emp_decor/25+2;
if (emp_decor>40) emp_decor=40;
if (emp_decor<0) emp_decor = 0;
- if (!(display_mode & display_mode == DISPLAY_EFFE)) // no in nothing mode
+ if (!(display_mode & DISPLAY_EFFE)) // no in nothing mode
return;
if (emp_decor>0)
{