aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorMax Horn2003-06-08 12:11:14 +0000
committerMax Horn2003-06-08 12:11:14 +0000
commitbe9e6e85db6ecbaaefcc8fe46066e0ac34bf1201 (patch)
tree482155e803af627d1d335605c1e93bece8ea541b /sky
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 'sky')
-rw-r--r--sky/sky.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp
index bd402f826c..1effbef8f9 100644
--- a/sky/sky.cpp
+++ b/sky/sky.cpp
@@ -296,6 +296,10 @@ void SkyState::delay(uint amount) { //copied and mutilated from Simon.cpp
_skyMouse->buttonPressed(2);
break;
+ case OSystem::EVENT_QUIT:
+ _system->quit();
+ break;
+
default:
break;
}