mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
DRASCULA: Fix slight delay when interrupting intro animation
The delay occurred when trying to interrupt the animation while at the start of the first scene with Igor. After the interruption (skipping the intro, return to launcher or quitting ScummVM) it would continue to play the animation for a bit longer than necessary.
This commit is contained in:
parent
8380023c51
commit
abb33e5362
@ -116,7 +116,7 @@ void DrasculaEngine::animation_1_1() {
|
||||
if ((term_int == 1) || (getScan() == Common::KEYCODE_ESCAPE) || shouldQuit())
|
||||
break;
|
||||
|
||||
for (int l2 = 0; l2 < 3; l2++)
|
||||
for (int l2 = 0; l2 < 3; l2++) {
|
||||
for (int l = 0; l < 7; l++) {
|
||||
copyBackground();
|
||||
copyBackground(interf_x[l], interf_y[l], 156, 45, 63, 31, drawSurface2, screenSurface);
|
||||
@ -129,6 +129,9 @@ void DrasculaEngine::animation_1_1() {
|
||||
}
|
||||
if ((term_int == 1) || (getScan() == Common::KEYCODE_ESCAPE) || shouldQuit())
|
||||
break;
|
||||
}
|
||||
if ((term_int == 1) || (getScan() == Common::KEYCODE_ESCAPE) || shouldQuit())
|
||||
break;
|
||||
|
||||
for (int l = 0, l2 = 0, p = 0; l < 180; l++) {
|
||||
copyBackground(0, 0, 320 - l, 0, l, 200, drawSurface3, screenSurface);
|
||||
|
Loading…
x
Reference in New Issue
Block a user