Skip to content

Commit

Permalink
remove write-only variable
Browse files Browse the repository at this point in the history
  • Loading branch information
NickAragua committed May 4, 2021
1 parent 23bdc52 commit 3470bbd
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ public String toString() {
// is the shift key held?
private boolean shiftheld;

private boolean twisting;

private final IGame.Phase phase;

private Entity[] visibleTargets;
Expand Down Expand Up @@ -1311,7 +1309,6 @@ public void hexMoused(BoardViewEvent b) {

if ((b.getType() == BoardViewEvent.BOARD_HEX_CLICKED) ||
(b.getType() == BoardViewEvent.BOARD_HEX_DRAGGED)) {
twisting = false;
clientgui.getBoardView().select(b.getCoords());
}
}
Expand Down Expand Up @@ -1495,8 +1492,6 @@ public void actionPerformed(ActionEvent ev) {
fire();
} else if (ev.getActionCommand().equals(TargetingCommand.FIRE_SKIP.getCmd())) {
nextWeapon();
} else if (ev.getActionCommand().equals(TargetingCommand.FIRE_TWIST.getCmd())) {
twisting = true;
} else if (ev.getActionCommand().equals(TargetingCommand.FIRE_NEXT.getCmd())) {
selectEntity(clientgui.getClient().getNextEntityNum(cen));
} else if (ev.getActionCommand().equals(TargetingCommand.FIRE_NEXT_TARG.getCmd())) {
Expand Down

0 comments on commit 3470bbd

Please sign in to comment.