From 5062aaffcaba2c564e1f3181e46a186b2744e036 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 11 Oct 2011 19:45:36 -0400 Subject: PEGASUS: Implement the sub chase --- engines/pegasus/console.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/pegasus/console.cpp') 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; } -- cgit v1.2.3