equal
deleted
inserted
replaced
289 if (HASBIT(w->disabled_state, 16)) return; |
289 if (HASBIT(w->disabled_state, 16)) return; |
290 SetWindowDirty(w); |
290 SetWindowDirty(w); |
291 SndPlayFx(SND_15_BEEP); |
291 SndPlayFx(SND_15_BEEP); |
292 |
292 |
293 TOGGLEBIT(w->click_state, 16); |
293 TOGGLEBIT(w->click_state, 16); |
294 _remove_button_clicked = HASBIT(w->click_state, 16) != 0; |
294 _remove_button_clicked = HASBIT(w->click_state, 16); |
295 SetSelectionRed(HASBIT(w->click_state, 16) != 0); |
295 SetSelectionRed(HASBIT(w->click_state, 16)); |
296 |
296 |
297 // handle station builder |
297 // handle station builder |
298 if (HASBIT(w->click_state, 16)) { |
298 if (HASBIT(w->click_state, 16)) { |
299 if (_remove_button_clicked) { |
299 if (_remove_button_clicked) { |
300 SetTileSelectSize(1, 1); |
300 SetTileSelectSize(1, 1); |