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 | 8ed3f5fd5e07dc95ee4a82f1d2fbe255a509203a (patch) | |
tree | bccabc8d24d94dfbe9b94d9f04fb1cd5b3167752 /src/misc_gui.cpp | |
parent | 4caeac0cb8b1d54e4240aaa0dd78b3fb79d5f043 (diff) | |
download | openttd-8ed3f5fd5e07dc95ee4a82f1d2fbe255a509203a.tar.xz |
(svn r12550) -Change: the signal GUI is now persistent - has the same data when it is reopened
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 04a7374d3..6b9a6bca0 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -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; } |