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/Framework/Scenes/SceneObjectGroup.cs | |
parent | Thank you, Twitch, for a patch to restore mayhem and murder to OpenSim (diff) | |
download | opensim-SC_OLD-fb4067c84493582bd3897eb7aee846c19bf334af.zip opensim-SC_OLD-fb4067c84493582bd3897eb7aee846c19bf334af.tar.gz opensim-SC_OLD-fb4067c84493582bd3897eb7aee846c19bf334af.tar.bz2 opensim-SC_OLD-fb4067c84493582bd3897eb7aee846c19bf334af.tar.xz |
A stab at implementing llSetDamage. Not persistent.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 31b94d9..d65dbaf 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -326,6 +326,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
326 | set { m_rootPart.OwnerID = value; } | 326 | set { m_rootPart.OwnerID = value; } |
327 | } | 327 | } |
328 | 328 | ||
329 | public float Damage | ||
330 | { | ||
331 | get { return m_rootPart.Damage; } | ||
332 | set { m_rootPart.Damage = value; } | ||
333 | } | ||
334 | |||
329 | public Color Color | 335 | public Color Color |
330 | { | 336 | { |
331 | get { return m_rootPart.Color; } | 337 | get { return m_rootPart.Color; } |