diff options
author | Melanie Thielker | 2009-07-15 00:10:01 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-07-15 00:10:01 +0000 |
commit | fb4067c84493582bd3897eb7aee846c19bf334af (patch) | |
tree | b73a0f99432335c2d30a6acf7a5b3c75b195eba6 /OpenSim/Region/ScriptEngine | |
parent | Thank you, Twitch, for a patch to restore mayhem and murder to OpenSim (diff) | |
download | opensim-SC-fb4067c84493582bd3897eb7aee846c19bf334af.zip opensim-SC-fb4067c84493582bd3897eb7aee846c19bf334af.tar.gz opensim-SC-fb4067c84493582bd3897eb7aee846c19bf334af.tar.bz2 opensim-SC-fb4067c84493582bd3897eb7aee846c19bf334af.tar.xz |
A stab at implementing llSetDamage. Not persistent.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-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 1b4674d..c74a41b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3833,7 +3833,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3833 | public void llSetDamage(double damage) | 3833 | public void llSetDamage(double damage) |
3834 | { | 3834 | { |
3835 | m_host.AddScriptLPS(1); | 3835 | m_host.AddScriptLPS(1); |
3836 | NotImplemented("llSetDamage"); | 3836 | m_host.ParentGroup.Damage = (float)damage; |
3837 | } | 3837 | } |
3838 | 3838 | ||
3839 | public void llTeleportAgentHome(string agent) | 3839 | public void llTeleportAgentHome(string agent) |