fixed bug

#story[1250]
This commit is contained in:
William Muir
2017-09-11 15:29:08 +12:00
parent 334e13295f
commit 1b8c503712
@@ -403,7 +403,6 @@ public class GameState implements Runnable {
serverYacht.setLocation(
calculateBounceBack(serverYacht, originalLocation, BOUNCE_DISTANCE_YACHT)
);
System.out.println("DID BOUNCE BACK");
serverYacht.setCurrentVelocity(
serverYacht.getCurrentVelocity() * COLLISION_VELOCITY_PENALTY
);
@@ -424,7 +423,6 @@ public class GameState implements Runnable {
calculateBounceBack(serverYacht, collidedMark, BOUNCE_DISTANCE_MARK)
);
System.out.println("DID BOUNCE BACK2");
serverYacht.setCurrentVelocity(
serverYacht.getCurrentVelocity() * COLLISION_VELOCITY_PENALTY
);
@@ -440,7 +438,6 @@ public class GameState implements Runnable {
BOUNCE_DISTANCE_YACHT)
);
System.out.println("DID BOUNCE BACK3");
serverYacht.setCurrentVelocity(
serverYacht.getCurrentVelocity() * COLLISION_VELOCITY_PENALTY
);