diff options
author | Eugene Sandulenko | 2016-09-10 22:29:19 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-10 22:29:19 +0200 |
commit | dfce02d6a77b0c47e5f963d407f25461f1d4b556 (patch) | |
tree | b72230b7bf98b964a7685b1bd6491d69d01382fa | |
parent | 4af0bc492457909a13ffa688814e3b1665a66277 (diff) | |
download | scummvm-rg350-dfce02d6a77b0c47e5f963d407f25461f1d4b556.tar.gz scummvm-rg350-dfce02d6a77b0c47e5f963d407f25461f1d4b556.tar.bz2 scummvm-rg350-dfce02d6a77b0c47e5f963d407f25461f1d4b556.zip |
XEEN: Fix compilation on Amiga
-rw-r--r-- | engines/xeen/worldofxeen/darkside_cutscenes.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/xeen/worldofxeen/darkside_cutscenes.cpp b/engines/xeen/worldofxeen/darkside_cutscenes.cpp index a5de6559c4..bbbe138a58 100644 --- a/engines/xeen/worldofxeen/darkside_cutscenes.cpp +++ b/engines/xeen/worldofxeen/darkside_cutscenes.cpp @@ -31,7 +31,7 @@ bool DarkSideCutscenes::showDarkSideTitle() { EventsManager &events = *_vm->_events; Screen &screen = *_vm->_screen; SoundManager &sound = *_vm->_sound; - + // TODO: Starting method, and sound //sub_28F40 screen.loadPalette("dark.pal"); @@ -194,8 +194,8 @@ bool DarkSideCutscenes::showDarkSideIntro() { } yCtr -= timeExpired; - yp = MIN(yp + timeExpired, (uint)200); - + yp = MIN((uint)(yp + timeExpired), (uint)200); + if (events.wait(1, true)) return false; @@ -241,7 +241,7 @@ bool DarkSideCutscenes::showDarkSideEnding() { Voc voc("ido2.voc"); Music newBright("newbrigh.m"); SpriteResource box("box.vga"); - + newBright.play(); screen.loadBackground("scene1.raw"); screen.loadPalette("endgame.pal"); |