diff options
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r-- | src/depot_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index 891fc5ceb..98d771830 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -518,7 +518,7 @@ struct DepotWindow : Window { break; case VEH_ROAD: - _cursor.short_vehicle_offset = 16 - ((RoadVehicle *)v)->cached_veh_length * 2; + _cursor.short_vehicle_offset = 16 - ((RoadVehicle *)v)->rcache.cached_veh_length * 2; break; default: |