From e71b8c2bd9722aae29ed36b78806867964a3121d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 Aug 2013 00:29:14 +0300 Subject: add support for process all input events before entering game. add flag for in game action conditions. --- src/actionmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/actionmanager.cpp') diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index b0018f670..54bf179ae 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -319,6 +319,8 @@ impHandler0(scrollChatDown) impHandler0(quit) { + if (!Game::instance()) + return false; if (viewport && viewport->isPopupMenuVisible()) { viewport->closePopupMenu(); -- cgit v1.2.3-70-g09d2