(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 4caeac0cb8
commit 8ed3f5fd5e
6 changed files with 46 additions and 13 deletions

View File

@@ -41,6 +41,7 @@
#include "player_gui.h"
#include "settings_type.h"
#include "newgrf_cargo.h"
#include "rail_gui.h"
#include "table/sprites.h"
#include "table/strings.h"
@@ -1833,6 +1834,7 @@ static int32 ClickChangeDateCheat(int32 p1, int32 p2)
SetDate(ConvertYMDToDate(_cur_year + p2, ymd.month, ymd.day));
EnginesMonthlyLoop();
SetWindowDirty(FindWindowById(WC_STATUS_BAR, 0));
ResetSignalVariant();
return _cur_year;
}