mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[12019] Various changes
* Add some const correctness * Remove unused Unit::isHover() function * Help compiler optimize code from last commit (thx to vladimir)
This commit is contained in:
parent
6d49f2bbee
commit
01b6c6b8f4
4 changed files with 7 additions and 8 deletions
|
|
@ -8625,7 +8625,7 @@ void Unit::TauntFadeOut(Unit *taunter)
|
|||
|
||||
//======================================================================
|
||||
|
||||
bool Unit::IsSecondChoiceTarget(Unit* pTarget, bool checkThreatArea)
|
||||
bool Unit::IsSecondChoiceTarget(Unit* pTarget, bool checkThreatArea) const
|
||||
{
|
||||
MANGOS_ASSERT(pTarget && GetTypeId() == TYPEID_UNIT);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue