summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-01-07 08:38:27 +0000
committercelestar <celestar@openttd.org>2005-01-07 08:38:27 +0000
commit91bf7a74486dd8261cca4d696715c420acf73cd3 (patch)
tree112c735de0dc3ffa61c7415d24f8e4c714eebd0a /aircraft_cmd.c
parent3b18fba385773139fe0b01f04cd3c208b64121e0 (diff)
downloadopenttd-91bf7a74486dd8261cca4d696715c420acf73cd3.tar.xz
(svn r1410) Replaced all occurences of 'passanger' by 'passenger' in the code
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index d351eb647..86b4b0d4b 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -71,7 +71,7 @@ void DrawAircraftEngineInfo(int engine, int x, int y, int maxw)
const AircraftVehicleInfo *avi = AircraftVehInfo(engine);
SetDParam(0, ((_price.aircraft_base >> 3) * avi->base_cost) >> 5);
SetDParam(1, avi->max_speed << 3);
- SetDParam(2, avi->passanger_capacity);
+ SetDParam(2, avi->passenger_capacity);
SetDParam(3, avi->mail_capacity);
SetDParam(4, avi->running_cost * _price.aircraft_running >> 8);
@@ -170,7 +170,7 @@ int32 CmdBuildAircraft(int x, int y, uint32 flags, uint32 p1, uint32 p2)
v->spritenum = avi->image_index;
// v->cargo_count = u->number_of_pieces = 0;
- v->cargo_cap = avi->passanger_capacity;
+ v->cargo_cap = avi->passenger_capacity;
u->cargo_cap = avi->mail_capacity;
v->cargo_type = CT_PASSENGERS;
@@ -423,7 +423,7 @@ int32 CmdRefitAircraft(int x, int y, uint32 flags, uint32 p1, uint32 p2)
if (!CheckOwnership(v->owner) || (!CheckStoppedInHangar(v) && !(SkipStoppedInHangerCheck)))
return CMD_ERROR;
- pass = AircraftVehInfo(v->engine_type)->passanger_capacity;
+ pass = AircraftVehInfo(v->engine_type)->passenger_capacity;
if (new_cargo_type != CT_PASSENGERS) {
pass >>= 1;
if (new_cargo_type != CT_GOODS)