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:
@@ -2167,7 +2167,7 @@ namespace Game.Maps
|
||||
|
||||
public bool Invoke(Unit u)
|
||||
{
|
||||
// Check contains checks for: live, non-selectable, non-attackable flags, flight check and GM check, ignore totems
|
||||
// Check contains checks for: live, uninteractible, non-attackable flags, flight check and GM check, ignore totems
|
||||
if (u.IsTypeId(TypeId.Unit) && u.IsTotem())
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user