fix tween overflow in editor playback
This commit is contained in:
@@ -463,11 +463,13 @@ void Background::LoadFromSong( const Song* pSong )
|
|||||||
m_DangerPlayer[p].SetXY( (float)LEFT_EDGE, (float)TOP_EDGE );
|
m_DangerPlayer[p].SetXY( (float)LEFT_EDGE, (float)TOP_EDGE );
|
||||||
m_DangerPlayer[p].SetZoomX( fXZoom );
|
m_DangerPlayer[p].SetZoomX( fXZoom );
|
||||||
m_DangerPlayer[p].SetZoomY( fYZoom );
|
m_DangerPlayer[p].SetZoomY( fYZoom );
|
||||||
|
m_DangerPlayer[p].FinishTweening();
|
||||||
m_DangerPlayer[p].PlayCommand( "On" );
|
m_DangerPlayer[p].PlayCommand( "On" );
|
||||||
|
|
||||||
m_DeadPlayer[p].SetXY( (float)LEFT_EDGE, (float)TOP_EDGE );
|
m_DeadPlayer[p].SetXY( (float)LEFT_EDGE, (float)TOP_EDGE );
|
||||||
m_DeadPlayer[p].SetZoomX( fXZoom );
|
m_DeadPlayer[p].SetZoomX( fXZoom );
|
||||||
m_DeadPlayer[p].SetZoomY( fYZoom );
|
m_DeadPlayer[p].SetZoomY( fYZoom );
|
||||||
|
m_DeadPlayer[p].FinishTweening();
|
||||||
m_DeadPlayer[p].PlayCommand( "On" );
|
m_DeadPlayer[p].PlayCommand( "On" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user