aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2016-04-09 23:08:13 +0200
committerPacien TRAN-GIRARD2016-04-09 23:08:13 +0200
commit8a0e6731a5f163423da00b34d86a85d3d172624c (patch)
treeb3ede3edd258032a5acedb4a3f40777980ea0c73
parentd0df7bd419bda6cf1a0389630ce09e9810ee4bff (diff)
downloadxblast-8a0e6731a5f163423da00b34d86a85d3d172624c.tar.gz
Fix tick nanosecond duration calculation
-rw-r--r--src/ch/epfl/xblast/server/Ticks.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/server/Ticks.java b/src/ch/epfl/xblast/server/Ticks.java
index b880dd7..df82d89 100644
--- a/src/ch/epfl/xblast/server/Ticks.java
+++ b/src/ch/epfl/xblast/server/Ticks.java
@@ -48,7 +48,7 @@ public interface Ticks {
48 /** 48 /**
49 * Duration of a tick (in nanoseconds). 49 * Duration of a tick (in nanoseconds).
50 */ 50 */
51 int TICK_NANOSECOND_DURATION = TICKS_PER_SECOND / Time.NS_PER_S; 51 int TICK_NANOSECOND_DURATION = Time.NS_PER_S / TICKS_PER_SECOND;
52 52
53 /** 53 /**
54 * Duration of a game (in seconds). 54 * Duration of a game (in seconds).