(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.

This commit is contained in:
2005-12-18 14:03:28 +00:00
parent 3561a3068e
commit 3532b91eef
4 changed files with 3 additions and 3 deletions

View File

@@ -811,7 +811,7 @@ void SetCustomEngineName(EngineID engine, const char *name)
_engine_custom_names[engine] = strdup(name);
}
void UnInitNewgrEngines(void)
void UnloadCustomEngineNames(void)
{
char **i;
for (i = _engine_custom_names; i != endof(_engine_custom_names); i++) {