diff options
author | Justin Clark-Casey (justincc) | 2013-11-30 01:52:45 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-11-30 01:52:45 +0000 |
commit | 96018afab40fc59b890448f2fa826cd296650b48 (patch) | |
tree | ab5d81557addd8abef0b7bcf15685e83a39aede6 /OpenSim/Region | |
parent | Implement most effects of AGENT_CONTROL_STOP (diff) | |
download | opensim-SC_OLD-96018afab40fc59b890448f2fa826cd296650b48.zip opensim-SC_OLD-96018afab40fc59b890448f2fa826cd296650b48.tar.gz opensim-SC_OLD-96018afab40fc59b890448f2fa826cd296650b48.tar.bz2 opensim-SC_OLD-96018afab40fc59b890448f2fa826cd296650b48.tar.xz |
Remove unused SP.Updated flag, which appears unused for many years and was only set true once and never reset
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 7a6a334..d74d92b 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -353,19 +353,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
353 | /// </summary> | 353 | /// </summary> |
354 | public uint MovementFlag { get; private set; } | 354 | public uint MovementFlag { get; private set; } |
355 | 355 | ||
356 | private bool m_updateflag; | ||
357 | |||
358 | /// <summary> | 356 | /// <summary> |
359 | /// Is the agent stop control flag currently active? | 357 | /// Is the agent stop control flag currently active? |
360 | /// </summary> | 358 | /// </summary> |
361 | public bool AgentControlStopActive { get; private set; } | 359 | public bool AgentControlStopActive { get; private set; } |
362 | 360 | ||
363 | public bool Updated | ||
364 | { | ||
365 | set { m_updateflag = value; } | ||
366 | get { return m_updateflag; } | ||
367 | } | ||
368 | |||
369 | private bool m_invulnerable = true; | 361 | private bool m_invulnerable = true; |
370 | 362 | ||
371 | public bool Invulnerable | 363 | public bool Invulnerable |
@@ -3688,8 +3680,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3688 | { | 3680 | { |
3689 | Vector3 force = m_forceToApply.Value; | 3681 | Vector3 force = m_forceToApply.Value; |
3690 | 3682 | ||
3691 | Updated = true; | ||
3692 | |||
3693 | Velocity = force; | 3683 | Velocity = force; |
3694 | 3684 | ||
3695 | m_forceToApply = null; | 3685 | m_forceToApply = null; |