mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
(svn r20758) -Fix: when leaving the program, current newgrf config would leak, causing valgrind warnings
This commit is contained in:
@@ -159,6 +159,7 @@ extern GRFLoadedFeatures _loaded_newgrf_features;
|
||||
void LoadNewGRFFile(struct GRFConfig *config, uint file_index, GrfLoadingStage stage);
|
||||
void LoadNewGRF(uint load_index, uint file_index);
|
||||
void ReloadNewGRFData(); // in saveload/afterload.cpp
|
||||
void ResetNewGRFData();
|
||||
|
||||
void CDECL grfmsg(int severity, const char *str, ...) WARN_FORMAT(2, 3);
|
||||
|
||||
|
Reference in New Issue
Block a user