aircraft_cmd.c
changeset 922 10035216cbaf
parent 919 544f374ee392
child 924 6fbd4419db2a
--- a/aircraft_cmd.c	Fri Jan 07 08:07:24 2005 +0000
+++ b/aircraft_cmd.c	Fri Jan 07 08:38:27 2005 +0000
@@ -71,7 +71,7 @@
 	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 @@
 		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 @@
 	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)