mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-24 10:45:46 +00:00
Fixed the 'ESC room' feature to work as intended.
svn-id: r43087
This commit is contained in:
parent
907a35c929
commit
58c56e28b9
@ -206,9 +206,14 @@ bool DraciEngine::handleEvents() {
|
||||
|
||||
// Check if there is an escape room defined for the current room
|
||||
if (escRoom != kNoEscRoom) {
|
||||
|
||||
// Schedule room change
|
||||
_game->setRoomNum(_game->getEscRoom());
|
||||
_game->setGateNum(0);
|
||||
_game->_roomChange = true;
|
||||
|
||||
// End any currently running GPL programs
|
||||
_script->endCurrentProgram();
|
||||
}
|
||||
}
|
||||
// Show walking map toggle
|
||||
|
Loading…
Reference in New Issue
Block a user