aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-05-10 07:11:40 +0000
committerTorbjörn Andersson2004-05-10 07:11:40 +0000
commit1189083fe0e6c4f8fc486c37b6a978bb8660a435 (patch)
tree146879dfc99c7eee49759a5fedb4b86cdfa21e2c
parent9742985e50662ba0ea07c5898a8b4e324811bd4a (diff)
downloadscummvm-rg350-1189083fe0e6c4f8fc486c37b6a978bb8660a435.tar.gz
scummvm-rg350-1189083fe0e6c4f8fc486c37b6a978bb8660a435.tar.bz2
scummvm-rg350-1189083fe0e6c4f8fc486c37b6a978bb8660a435.zip
Close menus before restarting. (This is a purely cosmetical fix.)
svn-id: r13831
-rw-r--r--sword2/controls.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sword2/controls.cpp b/sword2/controls.cpp
index dfd0c448be..b628648115 100644
--- a/sword2/controls.cpp
+++ b/sword2/controls.cpp
@@ -1607,6 +1607,8 @@ void Gui::restartControl(void) {
if (!restartDialog.run())
return;
+ _vm->_graphics->closeMenuImmediately();
+
// Restart the game. To do this, we must...
// Stop music instantly!