[10112] Rename GetObjectSize function to GetObjectBoundingRadius

To reflect better what the function should actually return and also to clarify when used in misc calculations.

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-06-27 14:13:55 +02:00
parent 0757b43929
commit 3eb2d2910e
11 changed files with 46 additions and 46 deletions

View file

@ -643,7 +643,7 @@ bool ChatHandler::HandleDebugSpawnVehicle(const char* args)
}
float px, py, pz;
m_session->GetPlayer()->GetClosePoint(px, py, pz, m_session->GetPlayer()->GetObjectSize());
m_session->GetPlayer()->GetClosePoint(px, py, pz, m_session->GetPlayer()->GetObjectBoundingRadius());
v->Relocate(px, py, pz, m_session->GetPlayer()->GetOrientation());