src/players.cpp
changeset 6119 b47985557d1e
parent 6074 e70d63ef4d62
child 6195 b90cf92697b9
equal deleted inserted replaced
6118:99a95cda1174 6119:b47985557d1e
   654 
   654 
   655 		if (e->type == VEH_Train && HASBIT(ei->climates, _opt.landscape) &&
   655 		if (e->type == VEH_Train && HASBIT(ei->climates, _opt.landscape) &&
   656 				(HASBIT(e->player_avail, p) || _date >= e->intro_date + 365)) {
   656 				(HASBIT(e->player_avail, p) || _date >= e->intro_date + 365)) {
   657 			const RailVehicleInfo *rvi = RailVehInfo(i);
   657 			const RailVehicleInfo *rvi = RailVehInfo(i);
   658 
   658 
   659 			if (!(rvi->flags & RVI_WAGON)) {
   659 			if (rvi->railveh_type != RAILVEH_WAGON) {
   660 				assert(rvi->railtype < RAILTYPE_END);
   660 				assert(rvi->railtype < RAILTYPE_END);
   661 				SETBIT(rt, rvi->railtype);
   661 				SETBIT(rt, rvi->railtype);
   662 			}
   662 			}
   663 		}
   663 		}
   664 	}
   664 	}