Skip to content

Commit c044b66

Browse files
committed
remove misleading javadoc
1 parent d56ec9f commit c044b66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

megamek/src/megamek/common/Hex.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,8 +557,8 @@ public boolean hasDepth1WaterOrDeeper() {
557557
}
558558

559559
/**
560-
* @return True if there is a bridge in this hex (thereby excluding any other type of building and requiring
561-
* Terrains.BRIDGE_ELEV and Terrains.BRIDGE_CF to be present in this hex).
560+
* @return True if there is a bridge in this hex. Tests if the hex has Terrains.BRIDGE. When true, the hex will also
561+
* have Terrains.BRIDGE_ELEV and Terrains.BRIDGE_CF.
562562
*/
563563
public boolean hasBridge() {
564564
return containsTerrain(Terrains.BRIDGE);

0 commit comments

Comments
 (0)