aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-08-12 09:01:29 -0400
committerPaul Gilbert2014-08-12 09:01:29 -0400
commit94eda108eb36594329c20ecbc525d9934083e535 (patch)
tree5a1b5c86b883f6bb2e2e6ff0111b7c8b62a0d03b
parentc0cb03cea276832b2d178155786c0418eccfd21d (diff)
downloadscummvm-rg350-94eda108eb36594329c20ecbc525d9934083e535.tar.gz
scummvm-rg350-94eda108eb36594329c20ecbc525d9934083e535.tar.bz2
scummvm-rg350-94eda108eb36594329c20ecbc525d9934083e535.zip
ACCESS: Fix incorrect decrementing of _startup
-rw-r--r--engines/access/room.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/access/room.cpp b/engines/access/room.cpp
index ab3592a247..4996527b74 100644
--- a/engines/access/room.cpp
+++ b/engines/access/room.cpp
@@ -80,12 +80,13 @@ void Room::doRoom() {
while (!_vm->shouldQuit()) {
_vm->_numImages = 0;
if (_vm->_startup != -1 && --_vm->_startup != 0) {
- --_vm->_startup;
_vm->_events->showCursor();
_vm->_screen->fadeIn();
}
+ // Handle any events
_vm->_events->pollEvents();
+
_vm->_nextImage = 0;
_vm->_player->walk();
_vm->_sound->midiRepeat();