mirror of https://github.com/OpenTTD/OpenTTD
(svn r21652) -Cleanup: one semicolon is enough
parent
ade19e5242
commit
aa4f269f3e
|
@ -195,7 +195,7 @@ uint Engine::GetDisplayDefaultCapacity(uint16 *mail_capacity) const
|
||||||
return GetEngineProperty(this->index, PROP_SHIP_CARGO_CAPACITY, this->u.ship.capacity);
|
return GetEngineProperty(this->index, PROP_SHIP_CARGO_CAPACITY, this->u.ship.capacity);
|
||||||
|
|
||||||
case VEH_AIRCRAFT: {
|
case VEH_AIRCRAFT: {
|
||||||
uint capacity = GetEngineProperty(this->index, PROP_AIRCRAFT_PASSENGER_CAPACITY, this->u.air.passenger_capacity);;
|
uint capacity = GetEngineProperty(this->index, PROP_AIRCRAFT_PASSENGER_CAPACITY, this->u.air.passenger_capacity);
|
||||||
CargoID cargo = this->GetDefaultCargoType();
|
CargoID cargo = this->GetDefaultCargoType();
|
||||||
if (IsCargoInClass(cargo, CC_PASSENGERS)) {
|
if (IsCargoInClass(cargo, CC_PASSENGERS)) {
|
||||||
if (mail_capacity != NULL) *mail_capacity = GetEngineProperty(this->index, PROP_AIRCRAFT_MAIL_CAPACITY, this->u.air.mail_capacity);
|
if (mail_capacity != NULL) *mail_capacity = GetEngineProperty(this->index, PROP_AIRCRAFT_MAIL_CAPACITY, this->u.air.mail_capacity);
|
||||||
|
|
|
@ -150,7 +150,7 @@ public:
|
||||||
/* move to the next tile */
|
/* move to the next tile */
|
||||||
tile = F.m_new_tile;
|
tile = F.m_new_tile;
|
||||||
trackdir = new_td;
|
trackdir = new_td;
|
||||||
if (tiles > MAX_MAP_SIZE) break;;
|
if (tiles > MAX_MAP_SIZE) break;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* save end of segment back to the node */
|
/* save end of segment back to the node */
|
||||||
|
|
Loading…
Reference in New Issue