(svn r829) Fix small glitch: Immediately redraw the tile selection square when using the hotkey to toggle removal
--- a/rail_gui.c Fri Nov 26 21:14:42 2004 +0000
+++ b/rail_gui.c Fri Nov 26 21:52:18 2004 +0000
@@ -290,6 +290,7 @@
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
--- a/road_gui.c Fri Nov 26 21:14:42 2004 +0000
+++ b/road_gui.c Fri Nov 26 21:52:18 2004 +0000
@@ -161,6 +161,7 @@
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)