Merged develop into this branch and resolved conflicts

tags: #story[1124] #pair[wmu16, hyi25]
This commit is contained in:
William Muir
2017-08-14 16:21:18 +12:00
parent 1a39b6e4a3
commit a4547e12cb
2 changed files with 3 additions and 22 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ public class Yacht extends Observable {
Double windSpeedKnots = GameState.getWindSpeedKnots();
Double trueWindAngle = Math.abs(GameState.getWindDirection() - heading);
Double boatSpeedInKnots = PolarTable.getBoatSpeed(windSpeedKnots, trueWindAngle);
Double maxBoatSpeed = boatSpeedInKnots / 1.943844492 * 1000 * 2;
Double maxBoatSpeed = boatSpeedInKnots / 1.943844492 * 1000;
if (sailIn && velocity <= maxBoatSpeed && maxBoatSpeed != 0d) {
if (velocity < maxBoatSpeed) {