Patch: Fix a bug in LAND animation when the TickCount wraps into negative numbers
by Mic Bowman Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>0.6.8-post-fixes
parent
a642968fd5
commit
a3755d831d
|
@ -247,8 +247,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation
|
|||
else if (m_movementAnimation == "LAND")
|
||||
{
|
||||
float landElapsed = (float)(Environment.TickCount - m_animTickFall) / 1000f;
|
||||
|
||||
if (landElapsed <= FALL_DELAY)
|
||||
if ((m_animTickFall != 0) && (landElapsed <= FALL_DELAY))
|
||||
return "LAND";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue