mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
fixed bug
#story[1250]
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user