diff options
author | tron <tron@openttd.org> | 2004-11-26 21:52:18 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-26 21:52:18 +0000 |
commit | 908adfc191d65d8040b966b1b307b9fd7fc8f4eb (patch) | |
tree | 5c97e73400081253c584244564bb6661d1a844e7 /rail_gui.c | |
parent | 08e16d966a108d6021fa8007fdc3acfe43670568 (diff) | |
download | openttd-908adfc191d65d8040b966b1b307b9fd7fc8f4eb.tar.xz |
(svn r829) Fix small glitch: Immediately redraw the tile selection square when using the hotkey to toggle removal
Diffstat (limited to 'rail_gui.c')
-rw-r--r-- | rail_gui.c | 1 |
1 files changed, 1 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 |