(svn r3486) - NewGRF fix: Always reinitialize the ttdpatch flags as patch settings may have changed.

This commit is contained in:
peter1138 2006-01-30 14:50:55 +00:00
parent 61a7b45dd9
commit 876813cd9d
1 changed files with 1 additions and 5 deletions

View File

@ -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();