mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Remove unused SP.Updated flag, which appears unused for many years and was only set true once and never reset
This commit is contained in:
@@ -353,19 +353,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// </summary>
|
||||
public uint MovementFlag { get; private set; }
|
||||
|
||||
private bool m_updateflag;
|
||||
|
||||
/// <summary>
|
||||
/// Is the agent stop control flag currently active?
|
||||
/// </summary>
|
||||
public bool AgentControlStopActive { get; private set; }
|
||||
|
||||
public bool Updated
|
||||
{
|
||||
set { m_updateflag = value; }
|
||||
get { return m_updateflag; }
|
||||
}
|
||||
|
||||
private bool m_invulnerable = true;
|
||||
|
||||
public bool Invulnerable
|
||||
@@ -3688,8 +3680,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
Vector3 force = m_forceToApply.Value;
|
||||
|
||||
Updated = true;
|
||||
|
||||
Velocity = force;
|
||||
|
||||
m_forceToApply = null;
|
||||
|
||||
Reference in New Issue
Block a user