diff options
author | Julien Templier | 2010-10-27 19:21:52 +0000 |
---|---|---|
committer | Julien Templier | 2010-10-27 19:21:52 +0000 |
commit | 44ba44297d13c4b197819678963fa8f99fbd4e37 (patch) | |
tree | bc85b8b812e4444d134873aa0dbb316540fdafcb /engines/lastexpress/game | |
parent | cdfcaa4d48fe31afd795da787fa798054b2824e6 (diff) | |
download | scummvm-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.cpp | 5 |
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) { |