File diff r2989:c7c58e254010 → r2990:093bed7dfa90
players.c
Show inline comments
 
@@ -625,13 +625,13 @@ byte GetPlayerRailtypes(PlayerID p)
 

	
 
	for (i = 0; i != TOTAL_NUM_ENGINES; i++) {
 
		const Engine* e = GetEngine(i);
 
		const EngineInfo *ei = &_engine_info[i];
 

	
 
		if (e->type == VEH_Train && HASBIT(ei->climates, _opt.landscape) &&
 
				(HASBIT(e->player_avail, p) || e->intro_date <= _date) &&
 
				(HASBIT(e->player_avail, p) || _date >= (e->intro_date + 365)) &&
 
				!(RailVehInfo(i)->flags & RVI_WAGON)) {
 
			assert(e->railtype < RAILTYPE_END);
 
			SETBIT(rt, e->railtype);
 
		}
 
	}