equal
deleted
inserted
replaced
656 |
656 |
657 if (v->z_pos != airport->delta_z + 1) return; |
657 if (v->z_pos != airport->delta_z + 1) return; |
658 } |
658 } |
659 Vehicle *u; |
659 Vehicle *u; |
660 |
660 |
661 if (v->type != VEH_AIRCRAFT) v = GetFirstVehicleInChain(v); |
661 if (v->type != VEH_AIRCRAFT) v = v->First(); |
662 u = v; |
662 u = v; |
663 |
663 |
664 /* crash all wagons, and count passengers */ |
664 /* crash all wagons, and count passengers */ |
665 BEGIN_ENUM_WAGONS(v) |
665 BEGIN_ENUM_WAGONS(v) |
666 if (IsCargoInClass(v->cargo_type, CC_PASSENGERS)) pass += v->cargo.Count(); |
666 if (IsCargoInClass(v->cargo_type, CC_PASSENGERS)) pass += v->cargo.Count(); |