diff options
author | Sven Hesse | 2007-05-01 14:49:13 +0000 |
---|---|---|
committer | Sven Hesse | 2007-05-01 14:49:13 +0000 |
commit | 54b8a4d06f56b3045f0e5a1ec3709ac1524f48d0 (patch) | |
tree | 6e9a7122743cfc534b388c08542a0adb6879d093 /engines/gob/draw_v2.cpp | |
parent | 8aed6861f9d6f0f2177e6bb6be24d2497c46984e (diff) | |
download | scummvm-rg350-54b8a4d06f56b3045f0e5a1ec3709ac1524f48d0.tar.gz scummvm-rg350-54b8a4d06f56b3045f0e5a1ec3709ac1524f48d0.tar.bz2 scummvm-rg350-54b8a4d06f56b3045f0e5a1ec3709ac1524f48d0.zip |
Made the collisionAreas' coordinates unsigned. This should fix bug #1706988
svn-id: r26715
Diffstat (limited to 'engines/gob/draw_v2.cpp')
-rw-r--r-- | engines/gob/draw_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp index 56757bb106..67b8eb3c13 100644 --- a/engines/gob/draw_v2.cpp +++ b/engines/gob/draw_v2.cpp @@ -82,7 +82,7 @@ void Draw_v2::animateCursor(int16 cursor) { // .-- _draw_animateCursorSUB1 --- if (cursorIndex == -1) { cursorIndex = 0; - for (ptr = _vm->_game->_collisionAreas; ptr->left != -1; ptr++) { + for (ptr = _vm->_game->_collisionAreas; ptr->left != 0xFFFF; ptr++) { if ((ptr->flags & 0xF00) || (ptr->id & 0x4000)) continue; |