From 6e72d514b7b353d92379855aa44907d9399c83a7 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 29 Jun 2005 08:14:09 +0000 Subject: (svn r2496) -Fix: [1179933] When toggling build/remove via keyboard the selection wasn't correctly redrawn --- viewport.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'viewport.c') 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; -- cgit v1.2.3-54-g00ecf