From 878c868f0269769b45595c566a242d48f8d58869 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 26 Dec 2005 15:41:24 +0000 Subject: [PATCH] (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(-) diff --git a/players.c b/players.c index 307b8db224..0db3c7f44a 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);