diff --git a/src/tbtr_template_gui_create.cpp b/src/tbtr_template_gui_create.cpp index 28d264786c..ee404d14fe 100644 --- a/src/tbtr_template_gui_create.cpp +++ b/src/tbtr_template_gui_create.cpp @@ -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