diff options
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index b2bfecad7..97c14281a 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -239,8 +239,13 @@ void AfterLoadVehicles() FOR_ALL_VEHICLES(v) { switch (v->type) { + case VEH_ROAD: + v->cur_image = GetRoadVehImage(v, v->direction); + v->u.road.roadtype = ROADTYPE_ROAD; + v->u.road.compatible_roadtypes = RoadTypeToRoadTypes(v->u.road.roadtype); + break; + 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: if (IsNormalAircraft(v)) { |