mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 19:53:04 +08:00
[saco] Implement/match CEntity::SetCollisionChecking(...)
This commit is contained in:
@@ -490,7 +490,19 @@ BOOL CEntity::HasExceededWorldBoundries(float fPX, float fZX, float fPY, float f
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CEntity::SetCollisionChecking(int iCheck)
|
||||
{
|
||||
if(!m_pEntity) return;
|
||||
if(m_pEntity->vtable == 0x863C40) return;
|
||||
|
||||
if(iCheck) {
|
||||
m_pEntity->dwProcessingFlags |= 1;
|
||||
} else {
|
||||
m_pEntity->dwProcessingFlags &= 0xFFFFFFFE;
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user