From 361722d459b1afff6b12ba722420e86703b06dea Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sat, 27 Aug 2016 23:10:13 +0200 Subject: DM: More renaming in DungeonMan, move some arrays --- engines/dm/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/dm/console.cpp') 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); -- cgit v1.2.3