mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
Rebase resync
This commit is contained in:
parent
a0797532e8
commit
1997c1e903
3106 changed files with 11118 additions and 627576 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/**
|
||||
* This code is part of MaNGOS. Contributor & Copyright details are in AUTHORS/THANKS.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -1921,6 +1921,9 @@ void GameObject::SetLootRecipient(Unit* pUnit)
|
|||
|
||||
float GameObject::GetObjectBoundingRadius() const
|
||||
{
|
||||
// FIXME:
|
||||
// 1. This is clearly hack way because we usually need this to check range, but a box just is no ball
|
||||
// 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)
|
||||
{
|
||||
float dx = m_displayInfo->geoBoxMaxX - m_displayInfo->geoBoxMinX;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue