TBTR: Create template window: Fix vehicle unselection on drag abort.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user