aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2016-03-15 14:19:13 +0100
committerPacien TRAN-GIRARD2016-03-15 14:19:13 +0100
commita04618577760d1ee306503fd14b86e5ebfc1a8ba (patch)
treee73a4d32d9820e38c010b0be00b3bf5b604ea057
parent74e7fe38193d28d58f41d23ccd41634b988394ef (diff)
downloadxblast-a04618577760d1ee306503fd14b86e5ebfc1a8ba.tar.gz
Fix cast ambiguity
-rw-r--r--src/ch/epfl/xblast/server/GameState.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/server/GameState.java b/src/ch/epfl/xblast/server/GameState.java
index 7e93812..ef792b6 100644
--- a/src/ch/epfl/xblast/server/GameState.java
+++ b/src/ch/epfl/xblast/server/GameState.java
@@ -102,7 +102,7 @@ public final class GameState {
102 * @return the remaining game time (in seconds) 102 * @return the remaining game time (in seconds)
103 */ 103 */
104 public double remainingTime() { 104 public double remainingTime() {
105 return (double) (Ticks.TOTAL_TICKS - this.ticks) / Ticks.TICKS_PER_SECOND; 105 return ((double) (Ticks.TOTAL_TICKS - this.ticks)) / Ticks.TICKS_PER_SECOND;
106 } 106 }
107 107
108 /** 108 /**