mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-06-14 23:02:08 +03:00
Fix HL2 (non-episodic) build
Broke in cea38f03ec1834ac9f3ab60340746b308df872ec.
This commit is contained in:
parent
c25053d1d2
commit
192b6983ea
@ -1059,12 +1059,12 @@ void CRagdollLRURetirement::Update( float frametime ) // Non-episodic version
|
|||||||
if ( m_LRU.Count() > iMaxRagdollCount )
|
if ( m_LRU.Count() > iMaxRagdollCount )
|
||||||
{
|
{
|
||||||
//Found one, we're done.
|
//Found one, we're done.
|
||||||
if ( ShouldRemoveThisRagdoll( m_LRU[i] ) == true )
|
if ( ShouldRemoveThisRagdoll( pRagdoll ) == true )
|
||||||
{
|
{
|
||||||
#ifdef CLIENT_DLL
|
#ifdef CLIENT_DLL
|
||||||
m_LRU[ i ]->SUB_Remove();
|
pRagdoll->SUB_Remove();
|
||||||
#else
|
#else
|
||||||
m_LRU[ i ]->SUB_StartFadeOut( 0 );
|
pRagdoll->SUB_StartFadeOut( 0 );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
m_LRU.Remove(i);
|
m_LRU.Remove(i);
|
||||||
@ -1108,9 +1108,9 @@ void CRagdollLRURetirement::Update( float frametime ) // Non-episodic version
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CLIENT_DLL
|
#ifdef CLIENT_DLL
|
||||||
m_LRU[ i ]->SUB_Remove();
|
pRagdoll->SUB_Remove();
|
||||||
#else
|
#else
|
||||||
m_LRU[ i ]->SUB_StartFadeOut( 0 );
|
pRagdoll->SUB_StartFadeOut( 0 );
|
||||||
#endif
|
#endif
|
||||||
m_LRU.Remove(i);
|
m_LRU.Remove(i);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user