Visibility promotion for a data class
This commit is contained in:
1 parent
83be09d643
commit
3fb08ca2c3
5 files changed
+17
-37
No files matched your search
@@ -280,8 +280,8 @@ public class Zone extends AbstractGameObject {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.getHeightMap().getSeaLevel() != 0)
|
||||
this.seaLevel = this.worldAltitude + this.getHeightMap().getSeaLevel();
|
||||
if (this.getHeightMap().seaLevel != 0)
|
||||
this.seaLevel = this.worldAltitude + this.getHeightMap().seaLevel;
|
||||
else
|
||||
this.seaLevel = this.parent.seaLevel;
|
||||
|
||||
|
||||
Reference in new issue
Block a user