mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
refactor(Core/Object): adds consistency in the use of type object check (#19671)
This commit is contained in:
@@ -1946,7 +1946,7 @@ void Player::UpdateCharmedAI()
|
||||
1 << (CLASS_PRIEST - 1));
|
||||
|
||||
// Xinef: charmer type specific actions
|
||||
if (charmer->GetTypeId() == TYPEID_PLAYER)
|
||||
if (charmer->IsPlayer())
|
||||
{
|
||||
bool follow = false;
|
||||
if (!target)
|
||||
|
||||
Reference in New Issue
Block a user