diff options
author | glx <glx@openttd.org> | 2008-05-14 23:02:05 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-05-14 23:02:05 +0000 |
commit | 1c77928886c150124b71558a09b2ab152f45d7c5 (patch) | |
tree | 52bf98065763457b0dc7b23afec1f16df27c68b7 /src/openttd.cpp | |
parent | 3a88f38b6577545a5e4668137de4b31808924faa (diff) | |
download | openttd-1c77928886c150124b71558a09b2ab152f45d7c5.tar.xz |
(svn r13096) -Codechange: resize SelectPlayerLiveryWindow dynamically on _loaded_newgrf_feature.has_2CC changes
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index e79b166fc..fcdffcb1a 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -2544,6 +2544,8 @@ void ReloadNewGRFData() AfterLoadStations(); /* Check and update house and town values */ UpdateHousesAndTowns(); + /* Update livery selection windows */ + for (PlayerID i = PLAYER_FIRST; i < MAX_PLAYERS; i++) InvalidateWindowData(WC_PLAYER_COLOR, i, _loaded_newgrf_features.has_2CC); /* redraw the whole screen */ MarkWholeScreenDirty(); } |