Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE

Port From (https://github.com/TrinityCore/TrinityCore/commit/c4906ce60be52c9a678287672a6461c3068beea3)
This commit is contained in:
hondacrx
2022-05-29 22:48:47 -04:00
parent 22238656ae
commit ccf3198c7e
13 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ namespace Game.Entities
if (!IsAlive())
return false;
if (HasUnitFlag(UnitFlags.NonAttackable | UnitFlags.NotSelectable))
if (HasUnitFlag(UnitFlags.NonAttackable | UnitFlags.Uninteractible))
return false;
if (IsTypeId(TypeId.Player) && ToPlayer().IsGameMaster())