MYST3: Empty the inventory on new game
This commit is contained in:
parent
718789b48f
commit
b8d57057de
1 changed files with 1 additions and 0 deletions
|
@ -2417,6 +2417,7 @@ void Script::newGame(Context &c, const Opcode &cmd) {
|
||||||
debugC(kDebugScript, "Opcode %d: New game", cmd.op);
|
debugC(kDebugScript, "Opcode %d: New game", cmd.op);
|
||||||
|
|
||||||
_vm->_state->newGame();
|
_vm->_state->newGame();
|
||||||
|
_vm->_inventory->reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
} /* namespace Myst3 */
|
} /* namespace Myst3 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue