aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/console.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-10-11 19:45:36 -0400
committerMatthew Hoops2011-10-11 19:45:36 -0400
commit5062aaffcaba2c564e1f3181e46a186b2744e036 (patch)
treeaeb8b8f59b6c620d2bd1627ad315b7d88f5d04e0 /engines/pegasus/console.cpp
parent5b62d069bc548bc33a1693ff538f0a1dd54ba612 (diff)
downloadscummvm-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.cpp3
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;
}