summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-07-13 12:00:56 +0000
committersmatz <smatz@openttd.org>2009-07-13 12:00:56 +0000
commit95c7993451a8d76b3bd3ec0c4844401e2a7729f0 (patch)
tree54b24eef672132aeb397320b0ae95f8a9d0e896f /src/saveload
parentaa7bcb1259aef0c71523b9ccc945840edcf9c6b1 (diff)
downloadopenttd-95c7993451a8d76b3bd3ec0c4844401e2a7729f0.tar.xz
(svn r16809) -Fix [FS#3021](r13096): automatic resizing of SelectCompanyLiveryWindow wasn't working as expected
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index 407972f7b..a31dc4a44 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -1987,7 +1987,7 @@ void ReloadNewGRFData()
/* Check and update house and town values */
UpdateHousesAndTowns();
/* Update livery selection windows */
- for (CompanyID i = COMPANY_FIRST; i < MAX_COMPANIES; i++) InvalidateWindowData(WC_COMPANY_COLOUR, i, _loaded_newgrf_features.has_2CC);
+ for (CompanyID i = COMPANY_FIRST; i < MAX_COMPANIES; i++) InvalidateWindowData(WC_COMPANY_COLOUR, i);
/* redraw the whole screen */
MarkWholeScreenDirty();
CheckTrainsLengths();