diff options
Diffstat (limited to 'engines/gob/util.cpp')
-rw-r--r-- | engines/gob/util.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/util.cpp b/engines/gob/util.cpp index f0caaf04a1..35c17bb9cf 100644 --- a/engines/gob/util.cpp +++ b/engines/gob/util.cpp @@ -26,6 +26,7 @@ #include "gob/util.h" #include "gob/draw.h" #include "gob/game.h" +#include "gob/inter.h" namespace Gob { @@ -162,7 +163,7 @@ void Util::processInput() { case OSystem::EVENT_KEYUP: break; case OSystem::EVENT_QUIT: - g_system->quit(); + _vm->_quitRequested = true; break; default: break; |