changeset 1990 | 90eb49e87b90 |
parent 1977 | 4392ae3d8e31 |
child 2049 | ad0d49c916d4 |
--- a/road_gui.c Tue Jun 28 17:45:15 2005 +0000 +++ b/road_gui.c Wed Jun 29 08:14:09 2005 +0000 @@ -159,8 +159,8 @@ 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)