diff options
author | Melanie Thielker | 2008-11-09 19:10:33 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-09 19:10:33 +0000 |
commit | 6c2732194970cfbdf74871fce10a4603495c9458 (patch) | |
tree | f325a737c6dfc836249934081dd01c79df605cdb | |
parent | Clean up a few comments. (diff) | |
download | opensim-SC-6c2732194970cfbdf74871fce10a4603495c9458.zip opensim-SC-6c2732194970cfbdf74871fce10a4603495c9458.tar.gz opensim-SC-6c2732194970cfbdf74871fce10a4603495c9458.tar.bz2 opensim-SC-6c2732194970cfbdf74871fce10a4603495c9458.tar.xz |
Cause llGetInventoryType to return the asset type, which corresponds with
the LSL constants.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 97603ee..e52277d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7940,7 +7940,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7940 | { | 7940 | { |
7941 | if (inv.Value.Name == name) | 7941 | if (inv.Value.Name == name) |
7942 | { | 7942 | { |
7943 | return inv.Value.InvType; | 7943 | return inv.Value.Type; |
7944 | } | 7944 | } |
7945 | } | 7945 | } |
7946 | return -1; | 7946 | return -1; |