diff options
author | UbitUmarov | 2019-11-12 18:19:12 +0000 |
---|---|---|
committer | UbitUmarov | 2019-11-12 18:19:12 +0000 |
commit | d10f11d31064f8d6fd6bccaf907897e07cd63cef (patch) | |
tree | 3636457b544b77f56dd175925cc6382429b5087d /OpenSim/Region/ScriptEngine | |
parent | more changes on terrain edit. Silent ignore comand if busy (large area smoot... (diff) | |
download | opensim-SC-d10f11d31064f8d6fd6bccaf907897e07cd63cef.zip opensim-SC-d10f11d31064f8d6fd6bccaf907897e07cd63cef.tar.gz opensim-SC-d10f11d31064f8d6fd6bccaf907897e07cd63cef.tar.bz2 opensim-SC-d10f11d31064f8d6fd6bccaf907897e07cd63cef.tar.xz |
terrain replace double by float
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index ac6abb0..3cb0fe7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -599,7 +599,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
599 | 599 | ||
600 | if (World.Permissions.CanTerraformLand(m_host.OwnerID, new Vector3(x, y, 0))) | 600 | if (World.Permissions.CanTerraformLand(m_host.OwnerID, new Vector3(x, y, 0))) |
601 | { | 601 | { |
602 | World.Heightmap[x, y] = val; | 602 | World.Heightmap[x, y] = (float)val; |
603 | return 1; | 603 | return 1; |
604 | } | 604 | } |
605 | else | 605 | else |