mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
add source-sdk-2013
This commit is contained in:
@@ -925,25 +925,6 @@ void CBaseAnimatingOverlay::SetLayerCycle( int iLayer, float flCycle, float flPr
|
||||
m_AnimOverlay[iLayer].MarkActive( );
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//-----------------------------------------------------------------------------
|
||||
void CBaseAnimatingOverlay::SetLayerCycle( int iLayer, float flCycle, float flPrevCycle, float flLastEventCheck )
|
||||
{
|
||||
if (!IsValidLayer( iLayer ))
|
||||
return;
|
||||
|
||||
if (!m_AnimOverlay[iLayer].m_bLooping)
|
||||
{
|
||||
flCycle = clamp( flCycle, 0.0f, 1.0f );
|
||||
flPrevCycle = clamp( flPrevCycle, 0.0f, 1.0f );
|
||||
}
|
||||
m_AnimOverlay[iLayer].m_flCycle = flCycle;
|
||||
m_AnimOverlay[iLayer].m_flPrevCycle = flPrevCycle;
|
||||
m_AnimOverlay[iLayer].m_flLastEventCheck = flLastEventCheck;
|
||||
m_AnimOverlay[iLayer].MarkActive( );
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user