* Fixed storm counter (removed +99 amount and showing only figues > 0).

This commit is contained in:
LevelX2 2015-02-04 17:31:21 +01:00
parent 1ccaa2cc9b
commit 0f61f5269d

View file

@ -606,7 +606,7 @@ public final class GamePanel extends javax.swing.JPanel {
else {
this.txtStep.setText("");
}
this.txtPhasesBottomInfo.setText(" " + Integer.toString(game.getSpellsCastCurrentTurn()+99));
this.txtPhasesBottomInfo.setText(" " + (game.getSpellsCastCurrentTurn() > 0 ? Integer.toString(game.getSpellsCastCurrentTurn()):""));
this.txtActivePlayer.setText(game.getActivePlayerName());
this.txtPriority.setText(game.getPriorityPlayerName());
this.txtTurn.setText(Integer.toString(game.getTurn()));