mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 00:36:07 +00:00
fix(Core/Player): corrected HasUnitFlag usage (#11321)
This commit is contained in:
@@ -1691,8 +1691,7 @@ void Player::UpdateTriggerVisibility()
|
||||
// units (values dependent on GM state)
|
||||
if (!creature || (!creature->IsTrigger() &&
|
||||
!creature->HasAuraType(SPELL_AURA_TRANSFORM) &&
|
||||
!creature->HasFlag(UNIT_FIELD_FLAGS,
|
||||
UNIT_FLAG_NOT_SELECTABLE)))
|
||||
!creature->HasUnitFlag(UNIT_FLAG_NOT_SELECTABLE)))
|
||||
continue;
|
||||
|
||||
creature->SetFieldNotifyFlag(UF_FLAG_PUBLIC);
|
||||
|
||||
Reference in New Issue
Block a user