Mercurial > hg > openttd
changeset 16917:7b207547041b draft
(svn r21652) -Cleanup: one semicolon is enough
author | smatz <smatz@openttd.org> |
---|---|
date | Tue, 28 Dec 2010 14:22:51 +0000 |
parents | dbbfd7203f21 |
children | ab6c96ab6f58 |
files | src/engine.cpp src/pathfinder/yapf/yapf_road.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/engine.cpp +++ b/src/engine.cpp @@ -195,7 +195,7 @@ return GetEngineProperty(this->index, PROP_SHIP_CARGO_CAPACITY, this->u.ship.capacity); 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(); if (IsCargoInClass(cargo, CC_PASSENGERS)) { if (mail_capacity != NULL) *mail_capacity = GetEngineProperty(this->index, PROP_AIRCRAFT_MAIL_CAPACITY, this->u.air.mail_capacity);