Changeset - r2795:a5d4dac62ec0
[Not reviewed]
master
0 1 0
peter1138 - 18 years ago 2005-12-26 15:41:24
peter1138@openttd.org
(svn r3343) Fix calculation of available rail types where all engines of a particular type are obsolete.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
players.c
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)