mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
terrain replace double by float
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user