mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
MOHAWK: Preinitialise saved card id for use when linking back to Myst from an other age.
svn-id: r54636
This commit is contained in:
@@ -42,6 +42,11 @@ namespace Mohawk {
|
||||
MystScriptParser_Myst::MystScriptParser_Myst(MohawkEngine_Myst *vm) : MystScriptParser(vm) {
|
||||
setupOpcodes();
|
||||
_invokingResource = NULL;
|
||||
|
||||
// Card ID preinitialized by the engine for use by opcode 18
|
||||
// when linking back to Myst in the library
|
||||
if (_vm->getCurStack() == kMystStack)
|
||||
_savedCardId = 4329;
|
||||
}
|
||||
|
||||
MystScriptParser_Myst::~MystScriptParser_Myst() {
|
||||
|
||||
Reference in New Issue
Block a user