mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[saco] Implement/match CEntity::GetWorldBoundRadius()
This commit is contained in:
parent
0339744fdf
commit
ddbda01200
@ -614,6 +614,14 @@ void CEntity::SetClumpAlpha(int iAlpha)
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
DWORD CEntity::GetWorldBoundRadius()
|
||||
{
|
||||
if(m_pEntity && m_pEntity->pdwRenderWare && m_pEntity->vtable != 0x863C40)
|
||||
{
|
||||
return m_pEntity->pdwRenderWare[14];
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -46,6 +46,7 @@ public:
|
||||
void SetApplySpeed(int iState);
|
||||
void MakeNonCollidable();
|
||||
void SetClumpAlpha(int iAlpha);
|
||||
DWORD GetWorldBoundRadius();
|
||||
|
||||
virtual void Add();
|
||||
virtual void Remove();
|
||||
|
Loading…
Reference in New Issue
Block a user