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

This commit is contained in:
RD42 2024-11-03 23:29:33 +08:00
parent 0339744fdf
commit ddbda01200
2 changed files with 9 additions and 0 deletions

View File

@ -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;
}

View File

@ -46,6 +46,7 @@ public:
void SetApplySpeed(int iState);
void MakeNonCollidable();
void SetClumpAlpha(int iAlpha);
DWORD GetWorldBoundRadius();
virtual void Add();
virtual void Remove();