From ff7e8fb2dde6c537da364b3602f4a2e56990c582 Mon Sep 17 00:00:00 2001 From: smatz Date: Thu, 3 Apr 2008 21:54:31 +0000 Subject: (svn r12550) -Change: the signal GUI is now persistent - has the same data when it is reopened --- src/openttd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/openttd.cpp') diff --git a/src/openttd.cpp b/src/openttd.cpp index a82636b6f..14a5f432d 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -93,7 +93,7 @@ void ResetMusic(); extern void SetDifficultyLevel(int mode, GameOptions *gm_opt); extern Player* DoStartupNewPlayer(bool is_ai); extern void ShowOSErrorBox(const char *buf); -extern void SetDefaultRailGui(); +extern void InitializeRailGUI(); /* TODO: usrerror() for errors which are not of an internal nature but * caused by the user, i.e. missing files or fatal configuration errors. @@ -702,7 +702,7 @@ static void MakeNewGameDone() DoCommandP(0, (_patches.autorenew << 15 ) | (_patches.autorenew_months << 16) | 4, _patches.autorenew_money, NULL, CMD_SET_AUTOREPLACE); SettingsDisableElrail(_patches.disable_elrails); - SetDefaultRailGui(); + InitializeRailGUI(); #ifdef ENABLE_NETWORK /* We are the server, we start a new player (not dedicated), @@ -1997,7 +1997,7 @@ bool AfterLoadGame() if (CheckSavegameVersion(38)) _patches.disable_elrails = false; /* do the same as when elrails were enabled/disabled manually just now */ SettingsDisableElrail(_patches.disable_elrails); - SetDefaultRailGui(); + InitializeRailGUI(); /* From version 53, the map array was changed for house tiles to allow * space for newhouses grf features. A new byte, m7, was also added. */ -- cgit v1.2.3-70-g09d2