aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_external.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-06-02 15:26:35 +0000
committerMatthew Hoops2010-06-02 15:26:35 +0000
commita8deacfc7eaf6b845d93b7a3f7343b55ee7ec097 (patch)
tree46f0af707c75bf08beaa0a6900a766cc6e1fdd43 /engines/mohawk/riven_external.cpp
parentaf3fec8c26d92005b507dca65d1d50f820feb0e7 (diff)
downloadscummvm-rg350-a8deacfc7eaf6b845d93b7a3f7343b55ee7ec097.tar.gz
scummvm-rg350-a8deacfc7eaf6b845d93b7a3f7343b55ee7ec097.tar.bz2
scummvm-rg350-a8deacfc7eaf6b845d93b7a3f7343b55ee7ec097.zip
In Riven, if we get a change card opcode on a mouse down event, ignore the next mouse up event so we don't misinterpret that as an event in the next card; minor cleanup.
svn-id: r49393
Diffstat (limited to 'engines/mohawk/riven_external.cpp')
-rw-r--r--engines/mohawk/riven_external.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/riven_external.cpp b/engines/mohawk/riven_external.cpp
index fd70de517f..4e6bba1c2a 100644
--- a/engines/mohawk/riven_external.cpp
+++ b/engines/mohawk/riven_external.cpp
@@ -210,7 +210,7 @@ void RivenExternal::runEndGame(uint16 video) {
_vm->_video->playMovieBlocking(video);
// TODO: Play until the last frame and then run the credits
- _vm->_gameOver = true;
+ _vm->setGameOver();
}
void RivenExternal::runDomeButtonMovie() {