From 44ba44297d13c4b197819678963fa8f99fbd4e37 Mon Sep 17 00:00:00 2001 From: Julien Templier Date: Wed, 27 Oct 2010 19:21:52 +0000 Subject: LASTEXPRESS: Hide menu elements after a game has been loaded svn-id: r53884 --- engines/lastexpress/game/menu.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/lastexpress/game') 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) { -- cgit v1.2.3