mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-02 15:16:46 +00:00
GOB : Adding workaround for Bug #3018918 UOTODDV Reload Goblin Stuck Issue.
This was present in the original interpreter. svn-id: r50480
This commit is contained in:
parent
48a107b821
commit
59f4c903a6
@ -813,6 +813,14 @@ bool Inter_v1::o1_if(OpFuncParams ¶ms) {
|
||||
byte cmd;
|
||||
bool boolRes;
|
||||
|
||||
// WORKAROUND: Windows Gob1 OUTODDV reload goblin stuck bug present in original
|
||||
if ((_vm->getGameType() == kGameTypeGob1) && (_vm->_game->_script->pos() == 11294) &&
|
||||
!scumm_stricmp(_vm->_game->_curTotFile, "avt00.tot") && VAR(59) == 1) {
|
||||
warning("Workaround for Win Gob1 OUTODDV Reload Goblin Stuck Bug...");
|
||||
WRITE_VAR(285, 0);
|
||||
WRITE_VAR(59, 0);
|
||||
}
|
||||
|
||||
boolRes = _vm->_game->_script->evalBoolResult();
|
||||
if (boolRes) {
|
||||
if ((params.counter == params.cmdCount) && (params.retFlag == 2))
|
||||
|
Loading…
Reference in New Issue
Block a user