mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
mantis 9133 replace some z < 0 checks by < Constants.MinSimulationHeight (-100)
This commit is contained in:
@@ -826,7 +826,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||
SceneObjectPart rootPart = g.RootPart;
|
||||
bool delete = false;
|
||||
|
||||
if (rootPart.GroupPosition.Z < 0.0 || rootPart.GroupPosition.Z > 10000.0)
|
||||
if (rootPart.GroupPosition.Z < Constants.MinSimulationHeight || rootPart.GroupPosition.Z > Constants.MaxSimulationHeight)
|
||||
{
|
||||
delete = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user