|
|
|
@ -158,7 +158,7 @@ void CClientThinkList::RemoveThinkable( ClientThinkHandle_t hThink )
@@ -158,7 +158,7 @@ void CClientThinkList::RemoveThinkable( ClientThinkHandle_t hThink )
|
|
|
|
|
{ |
|
|
|
|
pThink->SetThinkHandle( INVALID_THINK_HANDLE ); |
|
|
|
|
} |
|
|
|
|
m_ThinkEntries.Remove( (unsigned long)hThink ); |
|
|
|
|
m_ThinkEntries.Remove( (uintp)hThink ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -304,7 +304,7 @@ void CClientThinkList::PerformThinkFunctions()
@@ -304,7 +304,7 @@ void CClientThinkList::PerformThinkFunctions()
|
|
|
|
|
if ( hThink != INVALID_THINK_HANDLE ) |
|
|
|
|
{ |
|
|
|
|
// This can happen if the same think handle was removed twice
|
|
|
|
|
if ( !m_ThinkEntries.IsInList( (unsigned long)hThink ) ) |
|
|
|
|
if ( !m_ThinkEntries.IsInList( (uintp)hThink ) ) |
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
// NOTE: This is necessary for the case where the client entity handle
|
|
|
|
|