NewGRF: Use per-GRF text ID map in GetGRFStringID

This commit is contained in:
Jonathan G Rennison
2022-06-06 19:34:22 +01:00
parent 7a61b5d820
commit c342b4219b
2 changed files with 10 additions and 6 deletions

View File

@@ -12461,9 +12461,6 @@ void LoadNewGRF(uint load_index, uint num_baseset)
/* Pseudo sprite processing is finished; free temporary stuff */
_cur.ClearDataForNextFile();
for (GRFFile * const file : _grf_files) {
file->string_map.clear();
}
_callback_result_cache.clear();
/* Call any functions that should be run after GRFs have been loaded. */