aboutsummaryrefslogtreecommitdiff
path: root/sword2/build_display.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-08 06:32:37 +0000
committerTorbjörn Andersson2003-09-08 06:32:37 +0000
commitaff37c083b2ae179ac64e0464e11ea2f8cee4a5f (patch)
treeed14762ae4da839e323b6c93ac53b2c8b42ffa30 /sword2/build_display.cpp
parent9e1d85ce4841d63746c9b4f5f264d655fa6f0bda (diff)
downloadscummvm-rg350-aff37c083b2ae179ac64e0464e11ea2f8cee4a5f.tar.gz
scummvm-rg350-aff37c083b2ae179ac64e0464e11ea2f8cee4a5f.tar.bz2
scummvm-rg350-aff37c083b2ae179ac64e0464e11ea2f8cee4a5f.zip
Hide the menus when displaying full-screen messages, e.g. error messages
from the save/load dialog. (This probably happened automagically in the original, but we handle screen updates a bit differently now.) svn-id: r10078
Diffstat (limited to 'sword2/build_display.cpp')
-rw-r--r--sword2/build_display.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sword2/build_display.cpp b/sword2/build_display.cpp
index 974b6759d6..6a262c127a 100644
--- a/sword2/build_display.cpp
+++ b/sword2/build_display.cpp
@@ -370,6 +370,7 @@ void DisplayMsg(uint8 *text, int time) { // Chris 15May97
Set_mouse(0);
Set_luggage(0); //tw28Aug
+ CloseMenuImmediately();
EraseBackBuffer(); // for hardware rendering
EraseSoftwareScreenBuffer(); // for software rendering