Mage 400 INTO master/434

Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
Salja 2012-08-05 13:30:05 +02:00 committed by Antz
parent 7665a09232
commit 22bfaa12b0
66 changed files with 5773 additions and 3971 deletions

View file

@ -1858,8 +1858,8 @@ float GameObject::GetObjectBoundingRadius() const
// FIXME:
// 1. This is clearly hack way because GameObjectDisplayInfoEntry have 6 floats related to GO sizes, but better that use DEFAULT_WORLD_OBJECT_SIZE
// 2. In some cases this must be only interactive size, not GO size, current way can affect creature target point auto-selection in strange ways for big underground/virtual GOs
if (m_displayInfo)
return fabs(m_displayInfo->unknown12) * GetObjectScale();
/*if (m_displayInfo)
return fabs(m_displayInfo->unknown12) * GetObjectScale();*/
return DEFAULT_WORLD_OBJECT_SIZE;
}