[saco] Implement/match CEntity::DisableStreaming()

This commit is contained in:
RD42
2024-08-07 19:06:05 +08:00
parent 7653b3648e
commit 53a5bcb2ea
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -544,6 +544,16 @@ void CEntity::SetWaitingForCollision(int iState)
//-----------------------------------------------------------
void CEntity::DisableStreaming()
{
if(!m_pEntity) return;
if(m_pEntity->vtable == 0x863C40) return;
m_pEntity->dwProcessingFlags |= 0x80400;
}
//-----------------------------------------------------------
BOOL CEntity::IsStationary()
{
if (!IsAdded()) return FALSE; // movespeed vectors are invalid if its not added