aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
diff options
context:
space:
mode:
authorPaul Gilbert2010-08-23 00:31:11 +0000
committerEugene Sandulenko2010-10-12 23:14:23 +0000
commitee753bf0313e6fadf369b330bb169309cd5a84c6 (patch)
tree2c55c4d7ea601c05356944d9997e5e6bd459b430 /engines/sword25
parent1d6aa4d306ea2836beb303edece95d6d444035d0 (diff)
downloadscummvm-rg350-ee753bf0313e6fadf369b330bb169309cd5a84c6.tar.gz
scummvm-rg350-ee753bf0313e6fadf369b330bb169309cd5a84c6.tar.bz2
scummvm-rg350-ee753bf0313e6fadf369b330bb169309cd5a84c6.zip
SWORD25: Bugfix so that EVENT_QUIT quits the game
svn-id: r53280
Diffstat (limited to 'engines/sword25')
-rw-r--r--engines/sword25/kernel/scummvmwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sword25/kernel/scummvmwindow.cpp b/engines/sword25/kernel/scummvmwindow.cpp
index 439aa9d287..3a9fe94c62 100644
--- a/engines/sword25/kernel/scummvmwindow.cpp
+++ b/engines/sword25/kernel/scummvmwindow.cpp
@@ -149,8 +149,9 @@ void ScummVMWindow::SetTitle(const Common::String &Title) {
}
bool ScummVMWindow::ProcessMessages() {
- // No implementation
- return true;
+ // All messages are handled separately in the input manager. The only thing we
+ // need to do here is to keep returning whether the window/game is still alive
+ return _WindowAlive;
}
bool ScummVMWindow::WaitForFocus() {