diff options
author | Strangerke | 2016-06-29 22:51:40 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 57ca9afcff6b688d438a7c02096141921f28fc36 (patch) | |
tree | 88ef7a71816552f655e3b7affe7fae2037de9be6 /engines/dm/champion.cpp | |
parent | 3f19bcdf6b47bc7227eb91c6eb95fb20335276f6 (diff) | |
download | scummvm-rg350-57ca9afcff6b688d438a7c02096141921f28fc36.tar.gz scummvm-rg350-57ca9afcff6b688d438a7c02096141921f28fc36.tar.bz2 scummvm-rg350-57ca9afcff6b688d438a7c02096141921f28fc36.zip |
DM: Move two global arrays to DMEngine
Diffstat (limited to 'engines/dm/champion.cpp')
-rw-r--r-- | engines/dm/champion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/champion.cpp b/engines/dm/champion.cpp index cce3f558a7..88e03a52d5 100644 --- a/engines/dm/champion.cpp +++ b/engines/dm/champion.cpp @@ -561,8 +561,8 @@ void ChampionMan::addCandidateChampionToParty(uint16 championPortraitIndex) { int16 mapY = _vm->_dungeonMan->_currMap._partyPosY;
uint16 championObjectsCell = returnOppositeDir((direction)(dunMan._currMap._partyDir));
- mapX += gDirIntoStepCountEast[dunMan._currMap._partyDir];
- mapY += gDirIntoStepCountNorth[dunMan._currMap._partyDir];
+ mapX += _vm->_dirIntoStepCountEast[dunMan._currMap._partyDir];
+ mapY += _vm->_dirIntoStepCountNorth[dunMan._currMap._partyDir];
thing = dunMan.getSquareFirstThing(mapX, mapY);
AL_0_slotIndex_Red = kChampionSlotBackpackLine_1_1;
uint16 slotIndex_Green;
|