equal
deleted
inserted
replaced
400 if (e->we.click.pt.x < 10) { |
400 if (e->we.click.pt.x < 10) { |
401 DoCommandP(0, j | (2 << 8), !GetPlayer((PlayerID)w->window_number)->livery[j].in_use, NULL, CMD_SET_PLAYER_COLOR); |
401 DoCommandP(0, j | (2 << 8), !GetPlayer((PlayerID)w->window_number)->livery[j].in_use, NULL, CMD_SET_PLAYER_COLOR); |
402 } |
402 } |
403 |
403 |
404 if (_ctrl_pressed) { |
404 if (_ctrl_pressed) { |
405 TOGGLEBIT(WP(w, livery_d).sel, j); |
405 ToggleBit(WP(w, livery_d).sel, j); |
406 } else { |
406 } else { |
407 WP(w, livery_d).sel = 1 << j; |
407 WP(w, livery_d).sel = 1 << j; |
408 } |
408 } |
409 SetWindowDirty(w); |
409 SetWindowDirty(w); |
410 break; |
410 break; |