diff options
-rw-r--r-- | engines/mohawk/riven_stacks/bspit.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/mohawk/riven_stacks/bspit.cpp b/engines/mohawk/riven_stacks/bspit.cpp index b1ba5abd7b..824269a989 100644 --- a/engines/mohawk/riven_stacks/bspit.cpp +++ b/engines/mohawk/riven_stacks/bspit.cpp @@ -279,6 +279,12 @@ void BSpit::checkYtramCatch(bool playSound) { uint32 &ytramTime = _vm->_vars["bytramtime"]; + // The trap has been moved back up. + // You can't catch those sneaky Ytrams that way. + if (ytramTime == 0) { + return; + } + // If the trap still has not gone off, reinstall our timer // This is in case you set the trap, walked away, and returned if (_vm->getTotalPlayTime() < ytramTime) { |