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 | 876813cd9d07b1e1d2525cb697444fedcde3cc0f (patch) | |
tree | f14686406c1806a31e0518242f4d9e650cca5eb5 | |
parent | 61a7b45dd92d1af8f8266e171779e1c43f9f53f7 (diff) | |
download | openttd-876813cd9d07b1e1d2525cb697444fedcde3cc0f.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(); |