diff options
author | smatz <smatz@openttd.org> | 2008-04-03 21:54:31 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-04-03 21:54:31 +0000 |
commit | ff7e8fb2dde6c537da364b3602f4a2e56990c582 (patch) | |
tree | bccabc8d24d94dfbe9b94d9f04fb1cd5b3167752 /src/openttd.cpp | |
parent | 277df6d62204fe490ff7dbd55a2feaa97e32d7f0 (diff) | |
download | openttd-ff7e8fb2dde6c537da364b3602f4a2e56990c582.tar.xz |
(svn r12550) -Change: the signal GUI is now persistent - has the same data when it is reopened
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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. */ |