[Scummvm-cvs-logs] scummvm master -> c03ed78a24a92f6b73f589b50a16753dc4ac5961

Strangerke Strangerke at scummvm.org
Tue Feb 25 07:36:23 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c03ed78a24 AVALANCHE: Fix destination check in initRunner()


Commit: c03ed78a24a92f6b73f589b50a16753dc4ac5961
    https://github.com/scummvm/scummvm/commit/c03ed78a24a92f6b73f589b50a16753dc4ac5961
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-02-24T22:34:17-08:00

Commit Message:
AVALANCHE: Fix destination check in initRunner()

Changed paths:
    engines/avalanche/shootemup.cpp



diff --git a/engines/avalanche/shootemup.cpp b/engines/avalanche/shootemup.cpp
index 676154d..f50be51 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;






More information about the Scummvm-git-logs mailing list