aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sludge/event.h')
-rw-r--r--engines/sludge/event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sludge/event.h b/engines/sludge/event.h
index ddb973f4ec..691a0daa82 100644
--- a/engines/sludge/event.h
+++ b/engines/sludge/event.h
@@ -73,6 +73,7 @@ public:
void restore(FrozenStuffStruct *frozenStuff);
// Quit
+ void quitGame() { _weAreDoneSoQuit = true; /* _reallyWantToQuit = true; */ }
bool quit() { return _weAreDoneSoQuit; }
private:
@@ -80,6 +81,7 @@ private:
InputType _input;
int _weAreDoneSoQuit;
+ bool _reallyWantToQuit;
EventHandlers *_currentEvents;
};