diff options
author | johndoe123 | 2014-02-07 17:11:42 +0100 |
---|---|---|
committer | johndoe123 | 2014-02-07 17:11:42 +0100 |
commit | 62e7b4bbba3c56aa037e586a698268cc3708e3bb (patch) | |
tree | 72b035ab212effb17e7ef31b497c3ed3041a7d61 | |
parent | 3471c0c24db691bc0f0ea4609629bac945e34bff (diff) | |
download | scummvm-rg350-62e7b4bbba3c56aa037e586a698268cc3708e3bb.tar.gz scummvm-rg350-62e7b4bbba3c56aa037e586a698268cc3708e3bb.tar.bz2 scummvm-rg350-62e7b4bbba3c56aa037e586a698268cc3708e3bb.zip |
BBVS: Fix GCC warning (signed/unsigned comparison)
-rw-r--r-- | engines/bbvs/bbvs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bbvs/bbvs.cpp b/engines/bbvs/bbvs.cpp index 27dc9742b4..5775835df9 100644 --- a/engines/bbvs/bbvs.cpp +++ b/engines/bbvs/bbvs.cpp @@ -1492,7 +1492,7 @@ bool BbvsEngine::processCurrAction() { if (sceneObject->walkDestPt.x != -1) { debug(5, "waiting for walk to finish"); actionsFinished = false; - } else if ((sceneObject->x >> 16) != soAction->walkDest.x || (sceneObject->y >> 16) != soAction->walkDest.y) { + } else if ((int16)(sceneObject->x >> 16) != soAction->walkDest.x || (int16)(sceneObject->y >> 16) != soAction->walkDest.y) { debug(5, "starting to walk"); sceneObject->walkDestPt = soAction->walkDest; actionsFinished = false; |