aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game_v6.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/game_v6.cpp')
-rw-r--r--engines/gob/game_v6.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/gob/game_v6.cpp b/engines/gob/game_v6.cpp
index 2a9a1c254f..d8c921107f 100644
--- a/engines/gob/game_v6.cpp
+++ b/engines/gob/game_v6.cpp
@@ -93,6 +93,9 @@ void Game_v6::pushCollisions(char all) {
size++;
}
+ if (_collStackSize >= 5)
+ error("Game_v6::pushCollisions: _collStackSize == %d", _collStackSize);
+
destPtr = new Collision[size];
_collStack[_collStackSize] = destPtr;