diff options
Diffstat (limited to 'engines/dm')
-rw-r--r-- | engines/dm/dungeonman.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/dm/dungeonman.cpp b/engines/dm/dungeonman.cpp index 2d700f3d89..d467f5904c 100644 --- a/engines/dm/dungeonman.cpp +++ b/engines/dm/dungeonman.cpp @@ -293,6 +293,8 @@ void DungeonMan::loadDungeonFile() { } uint16 thingStoreWordCount = gThingDataWordCount[thingType]; + if (thingStoreWordCount == 0) + continue; if (_dunData.thingsData[thingType]) { delete[] _dunData.thingsData[thingType][0]; |