From 1189083fe0e6c4f8fc486c37b6a978bb8660a435 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 10 May 2004 07:11:40 +0000 Subject: Close menus before restarting. (This is a purely cosmetical fix.) svn-id: r13831 --- sword2/controls.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sword2') 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! -- cgit v1.2.3