diff options
Diffstat (limited to 'engines/dm/console.cpp')
-rw-r--r-- | engines/dm/console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dm/console.cpp b/engines/dm/console.cpp index c5ebd140af..a8157003d6 100644 --- a/engines/dm/console.cpp +++ b/engines/dm/console.cpp @@ -250,7 +250,7 @@ bool Console::Cmd_gimme(int argc, const char** argv) { for (int16 thingType = 0; thingType < 16; ++thingType) { // 16 number of item types uint16 *thingDataArray = _vm->_dungeonMan->_thingData[thingType]; - uint16 thingTypeSize = g235_ThingDataWordCount[thingType]; + uint16 thingTypeSize = _vm->_dungeonMan->_thingDataWordCount[thingType]; uint16 thingCount = _vm->_dungeonMan->_dungeonFileHeader._thingCounts[thingType]; Thing dummyThing(0); |