summaryrefslogtreecommitdiff
path: root/viewport.c
diff options
context:
space:
mode:
Diffstat (limited to 'viewport.c')
-rw-r--r--viewport.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/viewport.c b/viewport.c
index 64b171f2a..91cb9eadd 100644
--- a/viewport.c
+++ b/viewport.c
@@ -1486,6 +1486,13 @@ static void SetSelectionTilesDirty(void)
}
+void SetSelectionRed(bool b)
+{
+ _thd.make_square_red = b;
+ SetSelectionTilesDirty();
+}
+
+
static bool CheckClickOnTown(ViewPort *vp, int x, int y)
{
Town *t;