ACCESS: Fix not being able to save in room 9

This commit is contained in:
Paul Gilbert 2014-11-07 22:11:28 -05:00
parent dc218d53ef
commit 6434ace3b6

View File

@ -414,7 +414,10 @@ void Scripts::cmdSetTimer() {
void Scripts::cmdCheckTimer() { void Scripts::cmdCheckTimer() {
int idx = _data->readUint16LE(); int idx = _data->readUint16LE();
_vm->_canSaveLoad = true;
_vm->_events->pollEvents(); _vm->_events->pollEvents();
_vm->_canSaveLoad = false;
if ((idx == 9) && (_vm->_events->_keypresses.size() > 0)) { if ((idx == 9) && (_vm->_events->_keypresses.size() > 0)) {
_vm->_events->zeroKeys(); _vm->_events->zeroKeys();
_vm->_timers[9]._timer = 0; _vm->_timers[9]._timer = 0;