Skip to content

Commit

Permalink
ACCESS: Fix fade outs
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Aug 23, 2014
1 parent 1e2d79e commit 148eb97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/access/screen.cpp
Expand Up @@ -139,7 +139,7 @@ void Screen::forceFadeOut() {

do {
repeatFlag = false;
for (srcP = &_tempPalette[0], count = 0; count < PALETTE_COUNT; ++count, ++srcP) {
for (srcP = &_tempPalette[0], count = 0; count < PALETTE_SIZE; ++count, ++srcP) {
int v = *srcP;
if (v) {
repeatFlag = true;
Expand All @@ -149,7 +149,7 @@ void Screen::forceFadeOut() {

updatePalette();
g_system->delayMillis(10);
} while (repeatFlag);
} while (repeatFlag && !_vm->shouldQuit());
}

void Screen::forceFadeIn() {
Expand Down

0 comments on commit 148eb97

Please sign in to comment.