mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Change m_falling public to a getter property.
This commit is contained in:
@@ -66,7 +66,11 @@ namespace OpenSim.Region.Framework.Scenes.Animation
|
||||
public bool m_jumping = false; // Add for jumping
|
||||
public float m_jumpVelocity = 0f; // Add for jumping
|
||||
private int m_landing = 0; // Add for jumping
|
||||
public bool m_falling = false; // Add for falling
|
||||
public bool Falling
|
||||
{
|
||||
get { return m_falling; }
|
||||
}
|
||||
private bool m_falling = false; // Add for falling
|
||||
private float m_fallHeight; // Add for falling
|
||||
|
||||
/// <value>
|
||||
|
||||
@@ -2479,7 +2479,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
// m_log.Info("[AGENT]: Stop Flying");
|
||||
//}
|
||||
}
|
||||
if (Animator.m_falling && m_wasFlying) // if falling from flying, disable motion add
|
||||
if (Animator.Falling && m_wasFlying) // if falling from flying, disable motion add
|
||||
{
|
||||
direc *= 0.0f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user