equal
deleted
inserted
replaced
286 if (w->disabled_state & (1<<16)) |
286 if (w->disabled_state & (1<<16)) |
287 return; |
287 return; |
288 SetWindowDirty(w); |
288 SetWindowDirty(w); |
289 SndPlayFx(SND_15_BEEP); |
289 SndPlayFx(SND_15_BEEP); |
290 |
290 |
291 _thd.make_square_red = !!((w->click_state ^= (1 << 16)) & (1<<16)); |
291 w->click_state ^= (1 << 16); |
292 MarkTileDirty(_thd.pos.x, _thd.pos.y); |
|
293 _remove_button_clicked = (w->click_state & (1 << 16)) != 0; |
292 _remove_button_clicked = (w->click_state & (1 << 16)) != 0; |
|
293 SetSelectionRed((w->click_state & (1 << 16)) != 0); |
294 |
294 |
295 // handle station builder |
295 // handle station builder |
296 if( w->click_state & (1 << 16) ) |
296 if( w->click_state & (1 << 16) ) |
297 { |
297 { |
298 if(_remove_button_clicked) |
298 if(_remove_button_clicked) |