# HG changeset patch # User smatz # Date 2008-09-15 22:45:18 # Node ID 4b430e4297f4823131deafd95858bf78afa4723a # Parent fc974c695b43a7394d6628ed0f9b81374c4d5382 (svn r14336) -Fix (r14334): when there was a station with custom name in an old savegame, it's default name was empty diff --git a/src/openttd.cpp b/src/openttd.cpp --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -1348,7 +1348,8 @@ bool AfterLoadGame() Station *st; FOR_ALL_STATIONS(st) { st->name = CopyFromOldName(st->string_id); - if (st->name != NULL) st->string_id = STR_EMPTY; + /* generating new name would be too much work for little effect, use the station name fallback */ + if (st->name != NULL) st->string_id = STR_SV_STNAME_FALLBACK; } Town *t;