diff options
author | Pacien TRAN-GIRARD | 2016-04-09 23:08:13 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2016-04-09 23:08:13 +0200 |
commit | 8a0e6731a5f163423da00b34d86a85d3d172624c (patch) | |
tree | b3ede3edd258032a5acedb4a3f40777980ea0c73 /src | |
parent | d0df7bd419bda6cf1a0389630ce09e9810ee4bff (diff) | |
download | xblast-8a0e6731a5f163423da00b34d86a85d3d172624c.tar.gz |
Fix tick nanosecond duration calculation
Diffstat (limited to 'src')
-rw-r--r-- | src/ch/epfl/xblast/server/Ticks.java | 2 |
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). |