diff options
author | peter1138 <peter1138@openttd.org> | 2005-12-26 15:41:24 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2005-12-26 15:41:24 +0000 |
commit | 878c868f0269769b45595c566a242d48f8d58869 (patch) | |
tree | ce1da944271fbeb4de7867d15a6fb7381970f039 | |
parent | a85770614525b20c7563e08f5bfcfbbd05c563fe (diff) | |
download | openttd-878c868f0269769b45595c566a242d48f8d58869.tar.xz |
(svn r3343) Fix calculation of available rail types where all engines of a particular type are obsolete.
-rw-r--r-- | players.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -615,7 +615,7 @@ byte GetPlayerRailtypes(PlayerID p) const Engine* e = GetEngine(i); if (e->type == VEH_Train && - HASBIT(e->player_avail, p) && + (HASBIT(e->player_avail, p) || e->intro_date <= _date) && !(RailVehInfo(i)->flags & RVI_WAGON)) { assert(e->railtype < RAILTYPE_END); SETBIT(rt, e->railtype); |