aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/shootemup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/shootemup.cpp')
-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;