summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/viewport.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp
index 1360064f5..16e6bb0b5 100644
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -2859,6 +2859,9 @@ void SetObjectToPlace(CursorID icon, PaletteID pal, HighLightStyle mode, WindowC
if (w != NULL) w->OnPlaceObjectAbort();
}
+ /* Mark the old selection dirty, in case the selection shape or colour changes */
+ if ((_thd.drawstyle & HT_DRAG_MASK) != HT_NONE) SetSelectionTilesDirty();
+
SetTileSelectSize(1, 1);
_thd.make_square_red = false;