aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorMax Horn2003-06-08 12:11:14 +0000
committerMax Horn2003-06-08 12:11:14 +0000
commitbe9e6e85db6ecbaaefcc8fe46066e0ac34bf1201 (patch)
tree482155e803af627d1d335605c1e93bece8ea541b /simon
parent083f4c48455d2bdeb84877c7f3ce2b0169bff94e (diff)
downloadscummvm-rg350-be9e6e85db6ecbaaefcc8fe46066e0ac34bf1201.tar.gz
scummvm-rg350-be9e6e85db6ecbaaefcc8fe46066e0ac34bf1201.tar.bz2
scummvm-rg350-be9e6e85db6ecbaaefcc8fe46066e0ac34bf1201.zip
added quit event
svn-id: r8398
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index ee6926d38c..d209fddeed 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -4488,6 +4488,10 @@ void SimonEngine::delay(uint amount) {
else
_exit_cutscene = true;
break;
+
+ case OSystem::EVENT_QUIT:
+ _system->quit();
+ break;
default:
break;