diff options
author | peter1138 <peter1138@openttd.org> | 2006-01-30 14:50:55 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-01-30 14:50:55 +0000 |
commit | 4bc7df663caf3d06a6451e761905dd88da7e1ae4 (patch) | |
tree | f14686406c1806a31e0518242f4d9e650cca5eb5 | |
parent | 8316942f9184d28295fe9a5d2c7cf853ea18f585 (diff) | |
download | openttd-4bc7df663caf3d06a6451e761905dd88da7e1ae4.tar.xz |
(svn r3486) - NewGRF fix: Always reinitialize the ttdpatch flags as patch settings may have changed.
-rw-r--r-- | newgrf.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -2710,13 +2710,9 @@ static void LoadNewGRFFile(const char* filename, uint file_index, uint stage) void LoadNewGRF(uint load_index, uint file_index) { - static bool initialized = false; // XXX yikes uint stage; - if (!initialized) { - InitializeGRFSpecial(); - initialized = true; - } + InitializeGRFSpecial(); ResetNewGRFData(); |