From 8a0e6731a5f163423da00b34d86a85d3d172624c Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sat, 9 Apr 2016 23:08:13 +0200 Subject: Fix tick nanosecond duration calculation --- src/ch/epfl/xblast/server/Ticks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ch') 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 { /** * Duration of a tick (in nanoseconds). */ - int TICK_NANOSECOND_DURATION = TICKS_PER_SECOND / Time.NS_PER_S; + int TICK_NANOSECOND_DURATION = Time.NS_PER_S / TICKS_PER_SECOND; /** * Duration of a game (in seconds). -- cgit v1.2.3