equal
deleted
inserted
replaced
1779 if (completely_emptied) { |
1779 if (completely_emptied) { |
1780 TriggerVehicle(v, VEHICLE_TRIGGER_EMPTY); |
1780 TriggerVehicle(v, VEHICLE_TRIGGER_EMPTY); |
1781 } |
1781 } |
1782 |
1782 |
1783 if (result != 0) { |
1783 if (result != 0) { |
1784 InvalidateWindow(v->GetVehicleListWindowClass(), v->owner); |
1784 InvalidateWindow(GetWindowClassForVehicleType(v->type), v->owner); |
1785 InvalidateWindow(WC_VEHICLE_DETAILS, v->index); |
1785 InvalidateWindow(WC_VEHICLE_DETAILS, v->index); |
1786 |
1786 |
1787 st->MarkTilesDirty(true); |
1787 st->MarkTilesDirty(true); |
1788 v->MarkDirty(); |
1788 v->MarkDirty(); |
1789 |
1789 |