Bugfix to show the final text screen correctly in EGA mode

svn-id: r30131
This commit is contained in:
Paul Gilbert 2008-01-01 22:55:54 +00:00
parent 4a9389d310
commit 86aeae4a74

View File

@ -165,9 +165,17 @@ bool Introduction::show() {
} while (anim->step());
delete anim;
if (!result)
// Show final introduction screen
showScreen(0x22, 0x21, 10000);
if (!result) {
// Show final introduction animation
if (!isEGA)
showScreen(0x22, 0x21, 10000);
else {
Palette finalPalette(0x21);
anim = new AnimationSequence(0x22, finalPalette, false);
delete anim;
interruptableDelay(10000);
}
}
Sound.musicInterface_KillAll();
return false;