diff options
author | rubidium <rubidium@openttd.org> | 2008-11-19 23:55:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-11-19 23:55:34 +0000 |
commit | 84ed95549281c8011a0a8c721b84d7601d6822f5 (patch) | |
tree | b6bd0fe6e7878375d317df4be1eba41cde3bac48 /src/openttd.cpp | |
parent | 2baf1aa14a0e0937d7e42afa021b7ce521d7efcf (diff) | |
download | openttd-84ed95549281c8011a0a8c721b84d7601d6822f5.tar.xz |
(svn r14598) -Feature: Action0Industries property 24 (industry suuplies default name for nearby station).
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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); |