diff options
author | Robert Göffringmann | 2004-11-11 15:40:48 +0000 |
---|---|---|
committer | Robert Göffringmann | 2004-11-11 15:40:48 +0000 |
commit | fd2ab69c25a1967b3c3aebc41c61c31adf88864b (patch) | |
tree | 3f03ece91ff568ec981102472a235cb2c53c005b | |
parent | 37833f9832c267212121a01451aa4386e630c157 (diff) | |
download | scummvm-rg350-fd2ab69c25a1967b3c3aebc41c61c31adf88864b.tar.gz scummvm-rg350-fd2ab69c25a1967b3c3aebc41c61c31adf88864b.tar.bz2 scummvm-rg350-fd2ab69c25a1967b3c3aebc41c61c31adf88864b.zip |
fix for bug #1064113.
not sure how this could happen though
svn-id: r15790
-rw-r--r-- | sky/logic.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp index c3608a142a..939d27ec1b 100644 --- a/sky/logic.cpp +++ b/sky/logic.cpp @@ -162,6 +162,11 @@ void Logic::logicScript() { void Logic::autoRoute() { _compact->downFlag = _skyAutoRoute->autoRoute(_compact); + if ((_compact->downFlag == 2) && (_compact == &SkyCompact::joey) && + (_compact->mode == 0) && (_compact->baseSub == JOEY_OUT_OF_LIFT)) { + // workaround for script bug #1064113. Details unclear... + _compact->downFlag = 0; + } if (_compact->downFlag != 1) { // route ok _compact->grafixProg.pos = 0; _compact->grafixProg.ptrTarget = 0; |