mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 01:19:08 +00:00
sync with azerothcore
This commit is contained in:
@@ -29,7 +29,7 @@ class FindDeadPlayer : public FindPlayerPredicate
|
||||
bool Check(Unit* unit) override
|
||||
{
|
||||
Player* player = unit->ToPlayer();
|
||||
return player && !player->isResurrectRequested() && player->getDeathState() == CORPSE && !value->IsTargetOfSpellCast(player, predicate);
|
||||
return player && !player->isResurrectRequested() && player->getDeathState() == DeathState::Corpse && !value->IsTargetOfSpellCast(player, predicate);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user