diff --git a/saco/game/entity.cpp b/saco/game/entity.cpp index 3d47a5b..919f379 100644 --- a/saco/game/entity.cpp +++ b/saco/game/entity.cpp @@ -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; +} diff --git a/saco/game/entity.h b/saco/game/entity.h index 293e53b..d3018e8 100644 --- a/saco/game/entity.h +++ b/saco/game/entity.h @@ -46,6 +46,7 @@ public: void SetApplySpeed(int iState); void MakeNonCollidable(); void SetClumpAlpha(int iAlpha); + DWORD GetWorldBoundRadius(); virtual void Add(); virtual void Remove();