src/aircraft_cmd.cpp
changeset 5838 9c3129cb019b
parent 5836 96e912d98c5c
child 5852 cb3f71b16e1a
--- a/src/aircraft_cmd.cpp	Wed Jan 10 18:44:52 2007 +0000
+++ b/src/aircraft_cmd.cpp	Wed Jan 10 18:56:51 2007 +0000
@@ -246,7 +246,7 @@
 
 		v->unitnumber = unit_num;
 		v->type = u->type = VEH_Aircraft;
-		v->direction = 3;
+		v->direction = DIR_SE;
 
 		v->owner = u->owner = _current_player;
 
@@ -382,7 +382,7 @@
 			u->next = w;
 
 			w->type = VEH_Aircraft;
-			w->direction = 0;
+			w->direction = DIR_N;
 			w->owner = _current_player;
 			w->x_pos = v->x_pos;
 			w->y_pos = v->y_pos;
@@ -907,7 +907,8 @@
 	Station *st;
 	const AirportMovingData *amd;
 	Vehicle *u;
-	byte z,newdir,maxz,curz;
+	byte z, maxz, curz;
+	Direction newdir;
 	GetNewVehiclePosResult gp;
 	uint dist;
 	int x,y;
@@ -1419,7 +1420,7 @@
 	v->cur_speed = 0;
 	v->subspeed = 0;
 	v->progress = 0;
-	v->direction = 3;
+	v->direction = DIR_SE;
 	v->vehstatus &= ~VS_HIDDEN;
 	{
 		Vehicle *u = v->next;