aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/scenery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/scenery.cpp')
-rw-r--r--engines/gob/scenery.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/gob/scenery.cpp b/engines/gob/scenery.cpp
index 74fa602161..8b3b12831f 100644
--- a/engines/gob/scenery.cpp
+++ b/engines/gob/scenery.cpp
@@ -222,6 +222,7 @@ void Scenery::freeStatic(int16 index) {
delete[] _statics[index].pieces;
delete[] _statics[index].piecesFromExt;
+ _statics[index].layersCount = 0;
_staticPictCount[index] = -1;
}