diff options
-rw-r--r-- | rail_gui.c | 1 | ||||
-rw-r--r-- | road_gui.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/rail_gui.c b/rail_gui.c index 81fda3cd1..05040cb84 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -290,6 +290,7 @@ static void BuildRailClick_Remove(Window *w) SndPlayFx(0x13); _thd.make_square_red = !!((w->click_state ^= (1 << 16)) & (1<<16)); + MarkTileDirty(_thd.pos.x, _thd.pos.y); _remove_button_clicked = (w->click_state & (1 << 16)) != 0; // handle station builder diff --git a/road_gui.c b/road_gui.c index 61b8a1668..f28aff360 100644 --- a/road_gui.c +++ b/road_gui.c @@ -161,6 +161,7 @@ static void BuildRoadClick_Remove(Window *w) SetWindowDirty(w); SndPlayFx(0x13); _thd.make_square_red = !!((w->click_state ^= (1 << 12)) & (1<<12)); + MarkTileDirty(_thd.pos.x, _thd.pos.y); } static void BuildRoadClick_Purchase(Window *w) |