File diff r5867:de68577800e6 → r5868:bc3e720ec5f7
src/players.cpp
Show inline comments
 
@@ -653,13 +653,13 @@ byte GetPlayerRailtypes(PlayerID p)
 
		const EngineInfo *ei = EngInfo(i);
 

	
 
		if (e->type == VEH_Train && HASBIT(ei->climates, _opt.landscape) &&
 
				(HASBIT(e->player_avail, p) || _date >= e->intro_date + 365)) {
 
			const RailVehicleInfo *rvi = RailVehInfo(i);
 

	
 
			if (!(rvi->flags & RVI_WAGON)) {
 
			if (rvi->railveh_type != RAILVEH_WAGON) {
 
				assert(rvi->railtype < RAILTYPE_END);
 
				SETBIT(rt, rvi->railtype);
 
			}
 
		}
 
	}