(svn r12550) -Change: the signal GUI is now persistent - has the same data when it is reopened
This commit is contained in:
@@ -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. */
|
||||
|
Reference in New Issue
Block a user