aboutsummaryrefslogtreecommitdiff
path: root/gob
diff options
context:
space:
mode:
Diffstat (limited to 'gob')
-rw-r--r--gob/game.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gob/game.cpp b/gob/game.cpp
index c772ff3d29..d0b653785f 100644
--- a/gob/game.cpp
+++ b/gob/game.cpp
@@ -168,8 +168,10 @@ char *game_loadExtData(int16 itemId, int16 *pResWidth, int16 *pResHeight) {
void game_clearCollisions() {
int16 i;
- for (i = 0; i < 250; i++)
+ for (i = 0; i < 250; i++) {
+ game_collisionAreas[i].id = 0;
game_collisionAreas[i].left = -1;
+ }
}
void game_addNewCollision(int16 id, int16 left, int16 top, int16 right, int16 bottom,