mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
feat(Core/Players): PlayerFlag helpers (#11294)
* feat(Core/Players): PlayerFlag helpers * Update Player.h * fix build
This commit is contained in:
@@ -4230,7 +4230,7 @@ void Spell::EffectStuck(SpellEffIndex /*effIndex*/)
|
||||
return;
|
||||
|
||||
// xinef: player is in corpse
|
||||
if (!target->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_GHOST))
|
||||
if (!target->HasPlayerFlag(PLAYER_FLAGS_GHOST))
|
||||
target->BuildPlayerRepop();
|
||||
target->RepopAtGraveyard();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user