LASTEXPRESS: Hide menu elements after a game has been loaded

svn-id: r53884
This commit is contained in:
Julien Templier 2010-10-27 19:21:52 +00:00
parent cdfcaa4d48
commit 44ba44297d

View File

@ -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) {