From 84ed95549281c8011a0a8c721b84d7601d6822f5 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 19 Nov 2008 23:55:34 +0000 Subject: (svn r14598) -Feature: Action0Industries property 24 (industry suuplies default name for nearby station). --- src/openttd.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/openttd.cpp') diff --git a/src/openttd.cpp b/src/openttd.cpp index be588e5d9..c79b68014 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -2570,6 +2570,13 @@ bool AfterLoadGame() FOR_ALL_SIGNS(si) { if (si->owner != OWNER_NONE && !IsValidCompanyID(si->owner)) si->owner = OWNER_NONE; } + + /* Station can get named based on an industry type, but the current ones + * are not, so mark them as if they are not named by an industry. */ + Station *st; + FOR_ALL_STATIONS(st) { + st->indtype = IT_INVALID; + } } GamelogPrintDebug(1); -- cgit v1.2.3-54-g00ecf