aboutsummaryrefslogtreecommitdiff
path: root/insane.cpp
diff options
context:
space:
mode:
authorVincent Hamm2002-03-06 21:22:56 +0000
committerVincent Hamm2002-03-06 21:22:56 +0000
commit5b2e56509d2b49dfe11f53fd435831d4d17761cb (patch)
treec7d07e6500f37fe4faef1f8375f0dda58425e1a7 /insane.cpp
parentb499fa2616e12799a1ea0a06dd2619da871b2628 (diff)
downloadscummvm-rg350-5b2e56509d2b49dfe11f53fd435831d4d17761cb.tar.gz
scummvm-rg350-5b2e56509d2b49dfe11f53fd435831d4d17761cb.tar.bz2
scummvm-rg350-5b2e56509d2b49dfe11f53fd435831d4d17761cb.zip
Implemented the cutscene exit key during smush playback
svn-id: r3671
Diffstat (limited to 'insane.cpp')
-rw-r--r--insane.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/insane.cpp b/insane.cpp
index bb4c190ecd..d1d18763d3 100644
--- a/insane.cpp
+++ b/insane.cpp
@@ -563,6 +563,11 @@ void SmushPlayer::startVideo(short int arg, byte* videoFile)
updateScreen(sm);
+ waitForTimer(sm,20);
+
+ if(sm->_keyPressed == sm->_vars[sm->VAR_CUTSCENEEXIT_KEY])
+ return;
+
} while (1);
}