diff options
author | Bastien Bouclet | 2016-08-06 14:36:41 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-03 08:50:10 +0200 |
commit | 4bdf88496d959c88f975c7d5f4e2ca6f25b454f4 (patch) | |
tree | 78158765b0b53e21aaddd6a2e1dbf2874dd4d59a /engines/mohawk/riven_card.cpp | |
parent | 099b3b3d8ff4729b5556f07f0e4476555ce7659c (diff) | |
download | scummvm-rg350-4bdf88496d959c88f975c7d5f4e2ca6f25b454f4.tar.gz scummvm-rg350-4bdf88496d959c88f975c7d5f4e2ca6f25b454f4.tar.bz2 scummvm-rg350-4bdf88496d959c88f975c7d5f4e2ca6f25b454f4.zip |
MOHAWK: Move Riven's name lists to a separate class
Diffstat (limited to 'engines/mohawk/riven_card.cpp')
-rw-r--r-- | engines/mohawk/riven_card.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/riven_card.cpp b/engines/mohawk/riven_card.cpp index b3ec0657a0..39a818c6a9 100644 --- a/engines/mohawk/riven_card.cpp +++ b/engines/mohawk/riven_card.cpp @@ -246,7 +246,7 @@ Common::Array<RivenHotspot *> RivenCard::getHotspots() const { } RivenHotspot *RivenCard::getHotspotByName(const Common::String &name) const { - int16 nameId = _vm->getIdFromName(HotspotNames, name); + int16 nameId = _vm->getIdFromName(kHotspotNames, name); for (uint i = 0; i < _hotspots.size(); i++) { if (_hotspots[i]->getNameId() == nameId) { @@ -345,7 +345,7 @@ Common::String RivenHotspot::getName() const { if (_nameResource < 0) return Common::String(); - return _vm->getName(HotspotNames, _nameResource); + return _vm->getName(kHotspotNames, _nameResource); } uint16 RivenHotspot::getIndex() const { |