diff options
author | Matthew Hoops | 2014-05-03 22:55:50 -0400 |
---|---|---|
committer | Matthew Hoops | 2014-05-03 22:55:50 -0400 |
commit | 0a899876e760419b913495e17052da2903371cb6 (patch) | |
tree | 8154a9e8f965a6d69cbfbcc3f48a3949ac681796 /engines/mohawk/riven_external.cpp | |
parent | 363b23f55d3bf143f1c3221fc6ea7d523bb06ea1 (diff) | |
download | scummvm-rg350-0a899876e760419b913495e17052da2903371cb6.tar.gz scummvm-rg350-0a899876e760419b913495e17052da2903371cb6.tar.bz2 scummvm-rg350-0a899876e760419b913495e17052da2903371cb6.zip |
MOHAWK: Use original stack ID mapping for Riven
Diffstat (limited to 'engines/mohawk/riven_external.cpp')
-rw-r--r-- | engines/mohawk/riven_external.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mohawk/riven_external.cpp b/engines/mohawk/riven_external.cpp index 10dcfd9fa7..3d0bccc47f 100644 --- a/engines/mohawk/riven_external.cpp +++ b/engines/mohawk/riven_external.cpp @@ -405,7 +405,7 @@ void RivenExternal::drawDomeSliders(uint16 startHotspot) { // On pspit, the rect is different by two pixels // (alternatively, we could just use hotspot 3 here, but only on pspit is there a hotspot for this) - if (_vm->getCurStack() == pspit) + if (_vm->getCurStack() == kStackPspit) dstAreaRect.translate(-2, 0); // Find out bitmap id @@ -2016,8 +2016,8 @@ void RivenExternal::xorollcredittime(uint16 argc, uint16 *argv) { // WORKAROUND: The special change stuff only handles one destination and it would // be messy to modify the way that currently works. If we use the trap book on Tay, // we should be using the Tay end game sequences. - if (_vm->_vars["returnstackid"] == rspit) { - _vm->changeToStack(rspit); + if (_vm->_vars["returnstackid"] == kStackRspit) { + _vm->changeToStack(kStackRspit); _vm->changeToCard(2); return; } |