aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-02-25 07:33:42 +0100
committerStrangerke2014-02-25 07:34:17 +0100
commitc03ed78a24a92f6b73f589b50a16753dc4ac5961 (patch)
tree361fb155d6ade92e94b61f7f668447e1f177eac2 /engines
parentda57eeeeb2548bd872b8b8fe7f3be040382b3b9b (diff)
downloadscummvm-rg350-c03ed78a24a92f6b73f589b50a16753dc4ac5961.tar.gz
scummvm-rg350-c03ed78a24a92f6b73f589b50a16753dc4ac5961.tar.bz2
scummvm-rg350-c03ed78a24a92f6b73f589b50a16753dc4ac5961.zip
AVALANCHE: Fix destination check in initRunner()
Diffstat (limited to 'engines')
-rw-r--r--engines/avalanche/shootemup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/shootemup.cpp b/engines/avalanche/shootemup.cpp
index 676154d52f..f50be51eaf 100644
--- a/engines/avalanche/shootemup.cpp
+++ b/engines/avalanche/shootemup.cpp
@@ -400,7 +400,7 @@ void ShootEmUp::initRunner(int16 x, int16 y, byte f1, byte f2, int8 ix, int8 iy)
_running[i]._lowest = f1;
_running[i]._ix = ix;
_running[i]._iy = iy;
- if ((ix = 0) && (iy = 0))
+ if ((ix == 0) && (iy == 0))
_running[i]._ix = 2; // To stop them running on the spot!
_running[i]._frameDelay = kFrameDelayMax;
return;