aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game
diff options
context:
space:
mode:
authorJulien Templier2010-10-27 19:21:52 +0000
committerJulien Templier2010-10-27 19:21:52 +0000
commit44ba44297d13c4b197819678963fa8f99fbd4e37 (patch)
treebc85b8b812e4444d134873aa0dbb316540fdafcb /engines/lastexpress/game
parentcdfcaa4d48fe31afd795da787fa798054b2824e6 (diff)
downloadscummvm-rg350-44ba44297d13c4b197819678963fa8f99fbd4e37.tar.gz
scummvm-rg350-44ba44297d13c4b197819678963fa8f99fbd4e37.tar.bz2
scummvm-rg350-44ba44297d13c4b197819678963fa8f99fbd4e37.zip
LASTEXPRESS: Hide menu elements after a game has been loaded
svn-id: r53884
Diffstat (limited to 'engines/lastexpress/game')
-rw-r--r--engines/lastexpress/game/menu.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/lastexpress/game/menu.cpp b/engines/lastexpress/game/menu.cpp
index a6176f9658..8973eeb7c0 100644
--- a/engines/lastexpress/game/menu.cpp
+++ b/engines/lastexpress/game/menu.cpp
@@ -1114,8 +1114,13 @@ void Menu::init(bool doSavegame, SavegameType type, uint32 value) {
// Start a game (or load an existing savegame)
void Menu::startGame() {
+ // Clear savegame headers
getSaveLoad()->clear();
+ // Hide menu elements
+ _clock->clear();
+ _trainLine->clear();
+
if (_lastIndex == _index) {
setGlobalTimer(0);
if (_index) {