Map wind rotation works with multiplayer xml. #story[1092]
This commit is contained in:
@@ -399,8 +399,7 @@ public class MockRace extends Race {
|
||||
double lastAngle = -1;
|
||||
boolean lastAngleWasGood = false;
|
||||
|
||||
//Check all bearings between [0his.latestMessages = new LatestMessages();
|
||||
thi, 360).
|
||||
//Check all bearings between [0, 360)
|
||||
for (double angle = 0; angle < 360; angle += 1) {
|
||||
|
||||
//Create bearing from angle.
|
||||
@@ -636,8 +635,6 @@ public class MockRace extends Race {
|
||||
protected int getNumberOfActiveBoats() {
|
||||
|
||||
int numberOfActiveBoats = 0;
|
||||
his.latestMessages = new LatestMessages();
|
||||
thi
|
||||
for (MockBoat boat : this.boats) {
|
||||
|
||||
//If the boat is currently racing, count it.
|
||||
@@ -710,6 +707,7 @@ his.latestMessages = new LatestMessages();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public List<CompoundMark> getCompoundMarks() {
|
||||
return compoundMarks;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user