Fixed boat track rendering (points were added before boat position set)
#story[782]
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user