equal
deleted
inserted
replaced
205 |
205 |
206 Engine *e; |
206 Engine *e; |
207 FOR_ALL_ENGINES_OF_TYPE(e, VEH_TRAIN) { |
207 FOR_ALL_ENGINES_OF_TYPE(e, VEH_TRAIN) { |
208 const EngineInfo *ei = &e->info; |
208 const EngineInfo *ei = &e->info; |
209 |
209 |
210 if (HasBit(ei->climates, _opt.landscape) && |
210 if (HasBit(ei->climates, _settings.game_creation.landscape) && |
211 (HasBit(e->player_avail, p) || _date >= e->intro_date + 365)) { |
211 (HasBit(e->player_avail, p) || _date >= e->intro_date + 365)) { |
212 const RailVehicleInfo *rvi = &e->u.rail; |
212 const RailVehicleInfo *rvi = &e->u.rail; |
213 |
213 |
214 if (rvi->railveh_type != RAILVEH_WAGON) { |
214 if (rvi->railveh_type != RAILVEH_WAGON) { |
215 assert(rvi->railtype < RAILTYPE_END); |
215 assert(rvi->railtype < RAILTYPE_END); |