equal
deleted
inserted
replaced
157 { |
157 { |
158 if (w->disabled_state & (1<<11)) |
158 if (w->disabled_state & (1<<11)) |
159 return; |
159 return; |
160 SetWindowDirty(w); |
160 SetWindowDirty(w); |
161 SndPlayFx(SND_15_BEEP); |
161 SndPlayFx(SND_15_BEEP); |
162 _thd.make_square_red = !!((w->click_state ^= (1 << 11)) & (1<<11)); |
162 w->click_state ^= (1 << 11); |
163 MarkTileDirty(_thd.pos.x, _thd.pos.y); |
163 SetSelectionRed((w->click_state & (1 << 11)) != 0); |
164 } |
164 } |
165 |
165 |
166 static void BuildRoadClick_Landscaping(Window *w) |
166 static void BuildRoadClick_Landscaping(Window *w) |
167 { |
167 { |
168 ShowTerraformToolbar(); |
168 ShowTerraformToolbar(); |