Core/Entities: Remove wrong immunity

Closes #17363
This commit is contained in:
Killyana
2016-07-19 22:21:41 +02:00
parent cdf8f3c2e1
commit 0be0606593

View File

@@ -11485,7 +11485,7 @@ bool Unit::isTargetableForAttack(bool checkFakeDeath) const
return false;
if (HasFlag(UNIT_FIELD_FLAGS,
UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_IMMUNE_TO_PC))
UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE))
return false;
if (GetTypeId() == TYPEID_PLAYER && ToPlayer()->IsGameMaster())