Core/Conditions: Added missing CONDITION_STRING_ID case to Condition::GetSearcherTypeMaskForCondition
Port From (https://github.com/TrinityCore/TrinityCore/commit/7153538db65a2a78bd16339ea44025a9af5fc27c)
This commit is contained in:
@@ -591,6 +591,9 @@ namespace Game.Conditions
|
|||||||
case ConditionTypes.PrivateObject:
|
case ConditionTypes.PrivateObject:
|
||||||
mask |= GridMapTypeMask.All & ~GridMapTypeMask.Player;
|
mask |= GridMapTypeMask.All & ~GridMapTypeMask.Player;
|
||||||
break;
|
break;
|
||||||
|
case ConditionTypes.StringId:
|
||||||
|
mask |= GridMapTypeMask.Creature | GridMapTypeMask.GameObject;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
Cypher.Assert(false, "Condition.GetSearcherTypeMaskForCondition - missing condition handling!");
|
Cypher.Assert(false, "Condition.GetSearcherTypeMaskForCondition - missing condition handling!");
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user