vehicle.c
changeset 2465 90a531e2c923
parent 2436 177cb6a8339f
child 2467 50a1bfdb6431
--- a/vehicle.c	Mon Sep 26 19:01:49 2005 +0000
+++ b/vehicle.c	Mon Sep 26 20:32:13 2005 +0000
@@ -187,6 +187,14 @@
 	FOR_ALL_VEHICLES(v) {
 		v->first = NULL;
 		if (v->type != 0) {
+			switch (v->type) {
+				case VEH_Train: v->cur_image = GetTrainImage(v, v->direction); break;
+				case VEH_Road: v->cur_image = GetRoadVehImage(v, v->direction); break;
+				case VEH_Ship: v->cur_image = GetShipImage(v, v->direction); break;
+				case VEH_Aircraft: v->cur_image = GetAircraftImage(v, v->direction); break;
+				default: break;
+			}
+
 			v->left_coord = INVALID_COORD;
 			VehiclePositionChanged(v);