diff options
author | Benjamin Haisch | 2008-12-15 08:04:06 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-20 22:43:07 +0100 |
commit | 1f4764ad1c6a4ef2d4c2a2697572f692957bbc02 (patch) | |
tree | 9a30ff2933e7955c2da56e2ee11dc48d4fa92553 /engines/toltecs/movie.cpp | |
parent | ec6f0d23a7bb502cd1fa5eef96340189fc64d8b4 (diff) | |
download | scummvm-rg350-1f4764ad1c6a4ef2d4c2a2697572f692957bbc02.tar.gz scummvm-rg350-1f4764ad1c6a4ef2d4c2a2697572f692957bbc02.tar.bz2 scummvm-rg350-1f4764ad1c6a4ef2d4c2a2697572f692957bbc02.zip |
TOLTECS: - Implemented RTL
- Fixed return values in savegame/loadgame
- Some minor cleanup
Diffstat (limited to 'engines/toltecs/movie.cpp')
-rw-r--r-- | engines/toltecs/movie.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/toltecs/movie.cpp b/engines/toltecs/movie.cpp index 9cbcbb2ed6..28402c9812 100644 --- a/engines/toltecs/movie.cpp +++ b/engines/toltecs/movie.cpp @@ -254,15 +254,18 @@ bool MoviePlayer::handleInput() { if (event.kbd.keycode == Common::KEYCODE_ESCAPE) return false; break; + case Common::EVENT_LBUTTONDOWN: + case Common::EVENT_RBUTTONDOWN: + return false; case Common::EVENT_QUIT: - g_system->quit(); + _vm->quitGame(); return false; break; default: break; } } - return true; + return !_vm->shouldQuit(); } } // End of namespace Toltecs |