aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/timer_eob.cpp
diff options
context:
space:
mode:
authorChristoph Mallon2012-03-13 10:40:41 +0100
committerAlyssa Milburn2012-03-13 15:43:36 +0100
commit75efdd2d84e21f5d3d01afcc89d61289ae87e4a2 (patch)
treef62ab385a4a0a483b894f91709dc7764bcec79ab /engines/kyra/timer_eob.cpp
parent337d5da913477889e9b2312ecce02e52c5ddf803 (diff)
downloadscummvm-rg350-75efdd2d84e21f5d3d01afcc89d61289ae87e4a2.tar.gz
scummvm-rg350-75efdd2d84e21f5d3d01afcc89d61289ae87e4a2.tar.bz2
scummvm-rg350-75efdd2d84e21f5d3d01afcc89d61289ae87e4a2.zip
JANITORIAL: Replace (x ? false : true) by !(x).
Diffstat (limited to 'engines/kyra/timer_eob.cpp')
-rw-r--r--engines/kyra/timer_eob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/timer_eob.cpp b/engines/kyra/timer_eob.cpp
index de1becfa72..766fe453ab 100644
--- a/engines/kyra/timer_eob.cpp
+++ b/engines/kyra/timer_eob.cpp
@@ -186,7 +186,7 @@ void EoBCoreEngine::timerProcessFlyingObjects(int timerNum) {
if (!fo->enable)
continue;
- bool endFlight = fo->distance ? false : true;
+ bool endFlight = fo->distance == 0;
uint8 pos = dirPosIndex[(fo->direction << 2) + (fo->curPos & 3)];
uint16 bl = fo->curBlock;