terrain replace double by float

This commit is contained in:
UbitUmarov
2019-11-12 18:19:12 +00:00
parent 9eb5fd4330
commit d10f11d310
18 changed files with 77 additions and 76 deletions

View File

@@ -599,7 +599,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (World.Permissions.CanTerraformLand(m_host.OwnerID, new Vector3(x, y, 0)))
{
World.Heightmap[x, y] = val;
World.Heightmap[x, y] = (float)val;
return 1;
}
else