diff options
author | Melanie | 2012-03-12 11:44:07 +0100 |
---|---|---|
committer | Melanie | 2012-03-12 11:44:07 +0100 |
commit | 139c0665cfdb5d0d2085609b7570914ec271124a (patch) | |
tree | 824eafd1851c0076274bf9ebeca658e0d9c788ca /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |
parent | ubitOde also knows a bit more about physical phantom (diff) | |
download | opensim-SC-139c0665cfdb5d0d2085609b7570914ec271124a.zip opensim-SC-139c0665cfdb5d0d2085609b7570914ec271124a.tar.gz opensim-SC-139c0665cfdb5d0d2085609b7570914ec271124a.tar.bz2 opensim-SC-139c0665cfdb5d0d2085609b7570914ec271124a.tar.xz |
Add AVATAR_MALE flag to return values of llGetAgentInfo
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index e2d17a7..958527a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6069,6 +6069,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6069 | flags |= ScriptBaseClass.AGENT_SITTING; | 6069 | flags |= ScriptBaseClass.AGENT_SITTING; |
6070 | } | 6070 | } |
6071 | 6071 | ||
6072 | if (agent.Appearance.VisualParams[(int)AvatarAppearance.VPElement.SHAPE_MALE] > 0) | ||
6073 | { | ||
6074 | flags |= ScriptBaseClass.AGENT_MALE; | ||
6075 | } | ||
6076 | |||
6072 | return flags; | 6077 | return flags; |
6073 | } | 6078 | } |
6074 | 6079 | ||