TBTR: Create template window: Fix vehicle unselection on drag abort.

pull/8/head
Jonathan G Rennison 8 years ago
parent 0c5a98d125
commit 5064dcdd2c

@ -279,7 +279,10 @@ public:
virtual void OnPlaceObjectAbort()
{
this->sel = INVALID_VEHICLE;
this->vehicle_over = INVALID_VEHICLE;
this->RaiseButtons();
this->SetDirty();
}
virtual void DrawWidget(const Rect &r, int widget) const

Loading…
Cancel
Save