diff options
author | Vincent Hamm | 2002-03-06 21:22:56 +0000 |
---|---|---|
committer | Vincent Hamm | 2002-03-06 21:22:56 +0000 |
commit | 5b2e56509d2b49dfe11f53fd435831d4d17761cb (patch) | |
tree | c7d07e6500f37fe4faef1f8375f0dda58425e1a7 /insane.cpp | |
parent | b499fa2616e12799a1ea0a06dd2619da871b2628 (diff) | |
download | scummvm-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.cpp | 5 |
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); } |