diff options
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index a6dbea987..380a000ba 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -1781,7 +1781,7 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left) } if (result != 0) { - InvalidateWindow(v->GetVehicleListWindowClass(), v->owner); + InvalidateWindow(GetWindowClassForVehicleType(v->type), v->owner); InvalidateWindow(WC_VEHICLE_DETAILS, v->index); st->MarkTilesDirty(true); |