fix queued commands ending up in m_current, causing all future tweens to inherit it
This commit is contained in:
@@ -387,6 +387,10 @@ void Actor::UpdateTweening( float fDeltaTime )
|
|||||||
{
|
{
|
||||||
m_current = TS;
|
m_current = TS;
|
||||||
|
|
||||||
|
// don't inherit the queued state's command. We keep having to do this.
|
||||||
|
// Does sCommandName belong in TweenInfo, instead of TweenState?
|
||||||
|
m_current.sCommandName = "";
|
||||||
|
|
||||||
// delete the head tween
|
// delete the head tween
|
||||||
m_Tweens.pop_front();
|
m_Tweens.pop_front();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user