mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 19:53:04 +08:00
[saco] Implement/match CEntity::DisableStreaming()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user