(svn r12550) -Change: the signal GUI is now persistent - has the same data when it is reopened

This commit is contained in:
smatz
2008-04-03 21:54:31 +00:00
parent 277df6d622
commit ff7e8fb2dd
6 changed files with 46 additions and 13 deletions

View File

@@ -15,6 +15,7 @@
#include "date_func.h"
#include "vehicle_base.h"
#include "debug.h"
#include "rail_gui.h"
#ifdef DEBUG_DUMP_COMMANDS
#include "saveload.h"
#endif
@@ -282,6 +283,8 @@ void IncreaseDate()
ShipsYearlyLoop();
if (_network_server) NetworkServerYearlyLoop();
if (_cur_year == _patches.semaphore_build_before) ResetSignalVariant();
/* check if we reached end of the game */
if (_cur_year == _patches.ending_year) {
ShowEndGameChart();