mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-11 13:45:25 +00:00
Made GPL interpreter exit on both gplend and exit instructions.
svn-id: r42241
This commit is contained in:
parent
d37d49e50c
commit
318d406242
@ -458,7 +458,7 @@ int Script::run(GPL2Program program, uint16 offset) {
|
||||
(this->*(cmd->_handler))(params);
|
||||
}
|
||||
|
||||
} while (cmd->_name != "gplend");
|
||||
} while (cmd->_name != "gplend" || cmd->_name != "exit");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user