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

This commit is contained in:
RD42 2024-08-07 19:07:01 +08:00
parent 53a5bcb2ea
commit 9c46d72f9e
2 changed files with 11 additions and 0 deletions

View File

@ -554,6 +554,16 @@ void CEntity::DisableStreaming()
//-----------------------------------------------------------
void CEntity::EnableTunnelTransition()
{
if(!m_pEntity) return;
if(m_pEntity->vtable == 0x863C40) return;
m_pEntity->dwProcessingFlags |= 0x80000000;
}
//-----------------------------------------------------------
BOOL CEntity::IsStationary()
{
if (!IsAdded()) return FALSE; // movespeed vectors are invalid if its not added

View File

@ -40,6 +40,7 @@ public:
void SetGravityProcessing(int iState);
void SetWaitingForCollision(int iState);
void DisableStreaming();
void EnableTunnelTransition();
virtual void Add();
virtual void Remove();
BOOL IsAdded();