From c03ed78a24a92f6b73f589b50a16753dc4ac5961 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Tue, 25 Feb 2014 07:33:42 +0100 Subject: AVALANCHE: Fix destination check in initRunner() --- engines/avalanche/shootemup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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; -- cgit v1.2.3