summaryrefslogtreecommitdiff
path: root/road_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'road_gui.c')
-rw-r--r--road_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/road_gui.c b/road_gui.c
index a47c7ab8e..439d86a7f 100644
--- a/road_gui.c
+++ b/road_gui.c
@@ -159,8 +159,8 @@ static void BuildRoadClick_Remove(Window *w)
return;
SetWindowDirty(w);
SndPlayFx(SND_15_BEEP);
- _thd.make_square_red = !!((w->click_state ^= (1 << 11)) & (1<<11));
- MarkTileDirty(_thd.pos.x, _thd.pos.y);
+ w->click_state ^= (1 << 11);
+ SetSelectionRed((w->click_state & (1 << 11)) != 0);
}
static void BuildRoadClick_Landscaping(Window *w)