diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 7649ff3..f0108f8 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -844,7 +844,10 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
844 | } | 844 | } |
845 | if ((status & BuiltIn_Commands_BaseClass.STATUS_DIE_AT_EDGE) == BuiltIn_Commands_BaseClass.STATUS_DIE_AT_EDGE) | 845 | if ((status & BuiltIn_Commands_BaseClass.STATUS_DIE_AT_EDGE) == BuiltIn_Commands_BaseClass.STATUS_DIE_AT_EDGE) |
846 | { | 846 | { |
847 | NotImplemented("llSetStatus - STATUS_DIE_AT_EDGE"); | 847 | if (value == 1) |
848 | m_host.SetDieAtEdge(true); | ||
849 | else | ||
850 | m_host.SetDieAtEdge(false); | ||
848 | } | 851 | } |
849 | if ((status & BuiltIn_Commands_BaseClass.STATUS_RETURN_AT_EDGE) == BuiltIn_Commands_BaseClass.STATUS_RETURN_AT_EDGE) | 852 | if ((status & BuiltIn_Commands_BaseClass.STATUS_RETURN_AT_EDGE) == BuiltIn_Commands_BaseClass.STATUS_RETURN_AT_EDGE) |
850 | { | 853 | { |
@@ -890,8 +893,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
890 | NotImplemented("llGetStatus - STATUS_BLOCK_GRAB"); | 893 | NotImplemented("llGetStatus - STATUS_BLOCK_GRAB"); |
891 | return 0; | 894 | return 0; |
892 | case BuiltIn_Commands_BaseClass.STATUS_DIE_AT_EDGE: | 895 | case BuiltIn_Commands_BaseClass.STATUS_DIE_AT_EDGE: |
893 | NotImplemented("llGetStatus - STATUS_DIE_AT_EDGE"); | 896 | |
894 | return 0; | 897 | if (m_host.GetDieAtEdge()) |
898 | return 1; | ||
899 | else | ||
900 | return 0; | ||
901 | |||
895 | case BuiltIn_Commands_BaseClass.STATUS_RETURN_AT_EDGE: | 902 | case BuiltIn_Commands_BaseClass.STATUS_RETURN_AT_EDGE: |
896 | NotImplemented("llGetStatus - STATUS_RETURN_AT_EDGE"); | 903 | NotImplemented("llGetStatus - STATUS_RETURN_AT_EDGE"); |
897 | return 0; | 904 | return 0; |