Skip to content

Commit

Permalink
ACCESS: Fix event pollig in death flashing loop
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Dec 13, 2014
1 parent b20c755 commit c69480f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions engines/access/amazon/amazon_game.cpp
Expand Up @@ -640,6 +640,7 @@ void AmazonEngine::dead(int deathId) {
_sound->playSound(0);
_screen->forceFadeOut();

_events->pollEvents();
if (shouldQuit())
return;
}
Expand Down
3 changes: 1 addition & 2 deletions engines/access/amazon/amazon_logic.cpp
Expand Up @@ -1475,8 +1475,7 @@ void River::initRiver() {
void River::resetPositions() {
riverSetPhysX();
int val = (_vm->_screen->_scrollCol + 1 - _oldScrollCol) * 16;
if (val > 256) {
val &= 0x7F;
if (val < 0) {
val |= 0x80;
}

Expand Down

0 comments on commit c69480f

Please sign in to comment.