Fixed boat track rendering (points were added before boat position set)

#story[782]
This commit is contained in:
Connor Taylor-Brown
2017-05-03 22:31:34 +12:00
parent 9bab3d3359
commit 0e1bf64177
3 changed files with 3 additions and 2 deletions
@@ -345,7 +345,7 @@ public class ResizableRaceCanvas extends Canvas {
if (raceAnno)
displayText(boat.toString(), boat.getAbbrev(), boat.getVelocity(), this.map.convertGPS(boat.getCurrentPosition()));
//TODO this needs to be fixed.
//drawTrack(boat, colours.get(currentColour));
drawTrack(boat, colours.get(currentColour));
currentColour = (currentColour + 1) % colours.size();
}
}