From 0975885240278002e8f5b3123ac76561110534f2 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 26 Dec 2005 15:41:24 +0000 Subject: (svn r3343) Fix calculation of available rail types where all engines of a particular type are obsolete. --- players.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'players.c') diff --git a/players.c b/players.c index 307b8db22..0db3c7f44 100644 --- a/players.c +++ b/players.c @@ -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); -- cgit v1.2.3-54-g00ecf