changeset 10321 | 6d58c7470699 |
parent 10319 | 77f1149ee0c9 |
child 10363 | d47dabff0d29 |
--- a/src/vehicle.cpp Thu Apr 24 08:53:04 2008 +0000 +++ b/src/vehicle.cpp Thu Apr 24 09:55:20 2008 +0000 @@ -2546,7 +2546,7 @@ VehiclePayment(this); - InvalidateWindow(this->GetVehicleListWindowClass(), this->owner); + InvalidateWindow(GetWindowClassForVehicleType(this->type), this->owner); InvalidateWindowWidget(WC_VEHICLE_VIEW, this->index, VVW_WIDGET_START_STOP_VEH); InvalidateWindow(WC_VEHICLE_DETAILS, this->index); InvalidateWindow(WC_STATION_VIEW, this->last_station_visited);