mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 15:31:59 +00:00
MOHAWK: Riven: Neutralize the timer when moving the Ytram trap up
Fixes #10103.
This commit is contained in:
parent
cf9646e72b
commit
22ed7eb399
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user