aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-09 19:10:33 +0000
committerMelanie Thielker2008-11-09 19:10:33 +0000
commit6c2732194970cfbdf74871fce10a4603495c9458 (patch)
treef325a737c6dfc836249934081dd01c79df605cdb /OpenSim/Region/ScriptEngine/Shared/Api
parentClean up a few comments. (diff)
downloadopensim-SC_OLD-6c2732194970cfbdf74871fce10a4603495c9458.zip
opensim-SC_OLD-6c2732194970cfbdf74871fce10a4603495c9458.tar.gz
opensim-SC_OLD-6c2732194970cfbdf74871fce10a4603495c9458.tar.bz2
opensim-SC_OLD-6c2732194970cfbdf74871fce10a4603495c9458.tar.xz
Cause llGetInventoryType to return the asset type, which corresponds with
the LSL constants.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
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;