aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 4108588..837779d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -1334,19 +1334,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1334 return 0; 1334 return 0;
1335 1335
1336 case ScriptBaseClass.STATUS_ROTATE_X: 1336 case ScriptBaseClass.STATUS_ROTATE_X:
1337 if (m_host.GetAxisRotation(2) == 2) 1337 // if (m_host.GetAxisRotation(2) != 0)
1338 if (m_host.GetAxisRotation((int)SceneObjectGroup.axisSelect.STATUS_ROTATE_X) != 0)
1338 return 1; 1339 return 1;
1339 else 1340 else
1340 return 0; 1341 return 0;
1341 1342
1342 case ScriptBaseClass.STATUS_ROTATE_Y: 1343 case ScriptBaseClass.STATUS_ROTATE_Y:
1343 if (m_host.GetAxisRotation(4) == 4) 1344 if (m_host.GetAxisRotation((int)SceneObjectGroup.axisSelect.STATUS_ROTATE_Y) != 0)
1344 return 1; 1345 return 1;
1345 else 1346 else
1346 return 0; 1347 return 0;
1347 1348
1348 case ScriptBaseClass.STATUS_ROTATE_Z: 1349 case ScriptBaseClass.STATUS_ROTATE_Z:
1349 if (m_host.GetAxisRotation(8) == 8) 1350 if (m_host.GetAxisRotation((int)SceneObjectGroup.axisSelect.STATUS_ROTATE_Z) != 0)
1350 return 1; 1351 return 1;
1351 else 1352 else
1352 return 0; 1353 return 0;