mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[10066] Some tuning in consts.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
d967af6549
commit
7dd5456401
5 changed files with 9 additions and 9 deletions
|
|
@ -8549,7 +8549,7 @@ void Unit::CombatStopWithPets(bool includingCast)
|
|||
struct IsAttackingPlayerHelper
|
||||
{
|
||||
explicit IsAttackingPlayerHelper() {}
|
||||
bool operator()(Unit* unit) const { return unit->isAttackingPlayer(); }
|
||||
inline bool operator()(Unit const* unit) const { return unit->isAttackingPlayer(); }
|
||||
};
|
||||
|
||||
bool Unit::isAttackingPlayer() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue