diff --git a/src/main/java/seng302/model/ServerYacht.java b/src/main/java/seng302/model/ServerYacht.java index c092447d..ab922052 100644 --- a/src/main/java/seng302/model/ServerYacht.java +++ b/src/main/java/seng302/model/ServerYacht.java @@ -104,6 +104,7 @@ public class ServerYacht { * @param secondsElapsed The seconds elapsed since the last update of this yacht */ public void updateLocation(Double secondsElapsed) { + //test lastLocation = location; location = GeoUtility.getGeoCoordinate(location, heading, currentVelocity * secondsElapsed); }