mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 04:37:06 +00:00
Mage 400 INTO master/434
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
7665a09232
commit
22bfaa12b0
66 changed files with 5773 additions and 3971 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue