diff options
author | Pacien TRAN-GIRARD | 2016-03-15 14:19:13 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2016-03-15 14:19:13 +0100 |
commit | a04618577760d1ee306503fd14b86e5ebfc1a8ba (patch) | |
tree | e73a4d32d9820e38c010b0be00b3bf5b604ea057 /src/ch/epfl | |
parent | 74e7fe38193d28d58f41d23ccd41634b988394ef (diff) | |
download | xblast-a04618577760d1ee306503fd14b86e5ebfc1a8ba.tar.gz |
Fix cast ambiguity
Diffstat (limited to 'src/ch/epfl')
-rw-r--r-- | src/ch/epfl/xblast/server/GameState.java | 2 |
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 | /** |