diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 38cbdbc..8d59c2d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3575,13 +3575,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3575 | if (strength <= 0.0 || damping <= 0.0) | 3575 | if (strength <= 0.0 || damping <= 0.0) |
3576 | return; | 3576 | return; |
3577 | 3577 | ||
3578 | llSetRot(rot); | 3578 | llSetLocalRot(rot); |
3579 | } | 3579 | } |
3580 | else | 3580 | else |
3581 | { | 3581 | { |
3582 | if (strength == 0) | 3582 | if (strength == 0) |
3583 | { | 3583 | { |
3584 | llSetRot(rot); | 3584 | llSetLocalRot(rot); |
3585 | return; | 3585 | return; |
3586 | } | 3586 | } |
3587 | 3587 | ||