summaryrefslogtreecommitdiff
path: root/engine.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-12-18 14:03:28 +0000
committerpeter1138 <peter1138@openttd.org>2005-12-18 14:03:28 +0000
commit3532b91eef373177c1403e4c268de2f2fd7b8ef6 (patch)
tree27b3a322a066b580696dd9cd726bd5faab42aa62 /engine.h
parent3561a3068ebd48d8f732042ab92f4d7c400acd0c (diff)
downloadopenttd-3532b91eef373177c1403e4c268de2f2fd7b8ef6.tar.xz
(svn r3316) - NewGRF: Unload engine names before loading grf files. This fixes names in climates where the engines don't get loaded. Renamed function to reflect its purpose.
Diffstat (limited to 'engine.h')
-rw-r--r--engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine.h b/engine.h
index c312bc09d..8a36f1eb9 100644
--- a/engine.h
+++ b/engine.h
@@ -212,7 +212,6 @@ void LoadCustomEngineNames(void);
void DeleteCustomEngineNames(void);
bool IsEngineBuildable(uint engine, byte type);
-void UnInitNewgrEngines(void);
enum {
NUM_NORMAL_RAIL_ENGINES = 54,
@@ -283,5 +282,6 @@ static inline const RoadVehicleInfo* RoadVehInfo(EngineID e)
void UnloadWagonOverrides(void);
void UnloadCustomEngineSprites(void);
+void UnloadCustomEngineNames(void);
#endif /* ENGINE_H */