mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
Added various misc. stubs and utility code from the Alien Swarm SDK
This commit is contained in:
@@ -506,6 +506,11 @@ void CBaseAnimating::StudioFrameAdvanceInternal( CStudioHdr *pStudioHdr, float f
|
||||
float flNewCycle = GetCycle() + flCycleDelta;
|
||||
if (flNewCycle < 0.0 || flNewCycle >= 1.0)
|
||||
{
|
||||
if (flNewCycle >= 1.0f)
|
||||
{
|
||||
ReachedEndOfSequence();
|
||||
}
|
||||
|
||||
if (m_bSequenceLoops)
|
||||
{
|
||||
flNewCycle -= (int)(flNewCycle);
|
||||
|
||||
Reference in New Issue
Block a user