mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Implement/match CEntity::EnableTunnelTransition()
This commit is contained in:
parent
53a5bcb2ea
commit
9c46d72f9e
@ -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
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user