Visibility promotion for a data class
This commit is contained in:
@@ -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