diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/RegionApplicationBase.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/RegionApplicationBase.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs index 621d0ef..dadaf88 100644 --- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs +++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs | |||
@@ -136,7 +136,7 @@ namespace OpenSim.Region.ClientStack | |||
136 | 136 | ||
137 | scene.PhysicsScene = GetPhysicsScene(); | 137 | scene.PhysicsScene = GetPhysicsScene(); |
138 | scene.PhysicsScene.SetTerrain(scene.Heightmap.GetFloatsSerialised()); | 138 | scene.PhysicsScene.SetTerrain(scene.Heightmap.GetFloatsSerialised()); |
139 | scene.PhysicsScene.SetWaterLevel(regionInfo.EstateSettings.waterHeight); | 139 | scene.PhysicsScene.SetWaterLevel((float)regionInfo.RegionSettings.WaterHeight); |
140 | 140 | ||
141 | //Master Avatar Setup | 141 | //Master Avatar Setup |
142 | UserProfileData masterAvatar; | 142 | UserProfileData masterAvatar; |