diff options
author | Matthew Hoops | 2011-10-11 19:45:36 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-10-11 19:45:36 -0400 |
commit | 5062aaffcaba2c564e1f3181e46a186b2744e036 (patch) | |
tree | aeb8b8f59b6c620d2bd1627ad315b7d88f5d04e0 /engines/pegasus/console.cpp | |
parent | 5b62d069bc548bc33a1693ff538f0a1dd54ba612 (diff) | |
download | scummvm-rg350-5062aaffcaba2c564e1f3181e46a186b2744e036.tar.gz scummvm-rg350-5062aaffcaba2c564e1f3181e46a186b2744e036.tar.bz2 scummvm-rg350-5062aaffcaba2c564e1f3181e46a186b2744e036.zip |
PEGASUS: Implement the sub chase
Diffstat (limited to 'engines/pegasus/console.cpp')
-rw-r--r-- | engines/pegasus/console.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/pegasus/console.cpp b/engines/pegasus/console.cpp index e6738bc83f..f8008a0681 100644 --- a/engines/pegasus/console.cpp +++ b/engines/pegasus/console.cpp @@ -83,7 +83,8 @@ bool PegasusConsole::Cmd_Jump(int argc, const char **argv) { tRoomID room = (tRoomID)atoi(argv[2]); tDirectionConstant direction = (tDirectionConstant)atoi(argv[3]); - if (neighborhood < kCaldoriaID || neighborhood > kNoradDeltaID || neighborhood == kFinalTSAID) { + if ((neighborhood < kCaldoriaID || neighborhood > kNoradDeltaID || neighborhood == kFinalTSAID) && + neighborhood != kNoradSubChaseID) { DebugPrintf("Invalid neighborhood %d", neighborhood); return true; } |