Core/Entities: Remove wrong immunity

Closes #17363

(cherry picked from commit 0be0606593cf6ce8a08735b070e64efa6b6f1667)
This commit is contained in:
Killyana
2017-02-11 16:49:56 +01:00
committed by joschiwald
parent 28a029c440
commit 611bc7d838
+1 -1
View File
@@ -9271,7 +9271,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())