From 8a3a41294aa2bcba5d8720b0ba078b57b044c5af Mon Sep 17 00:00:00 2001 From: Calum Date: Wed, 17 May 2017 17:41:45 +1200 Subject: [PATCH] Fixed error causing build failure. #story[923] #bug #refactor --- src/main/java/seng302/models/BoatGroup.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/seng302/models/BoatGroup.java b/src/main/java/seng302/models/BoatGroup.java index b2d72099..57950f24 100644 --- a/src/main/java/seng302/models/BoatGroup.java +++ b/src/main/java/seng302/models/BoatGroup.java @@ -286,8 +286,7 @@ public class BoatGroup extends RaceObject { rotationalVelocity = 0; wakeGenerationDelay--; } else { - wake.setRotationalVelocity(rotationalVelocity, rotationalGoal, - boat.getVelocity()); + wake.setRotationalVelocity(rotationalVelocity, boat.getVelocity()); rotateTo(rotationalGoal); wake.rotate(rotationalGoal); }