Fixing a silly mistake where starboard side rounding checks for a port side rounding (Thank goodness for documenting manual tests)

#story[1101]
main
hba56 8 years ago
parent a05ffd023d
commit f90648e4ce

@ -263,7 +263,7 @@ public class MockBoat extends Boat {
*/
public boolean isBetweenGate(CompoundMark gate){
if ((this.isPortSide(gate.getMark1()) && this.isStarboardSide(gate.getMark2())) ||
(this.isStarboardSide(gate.getMark2()) && this.isPortSide(gate.getMark1()))){
(this.isStarboardSide(gate.getMark1()) && this.isPortSide(gate.getMark2()))){
return true;
}else{
return false;

Loading…
Cancel
Save