From 6fe47e7fccbb7e0cd0eee5ec721b06afe2201524 Mon Sep 17 00:00:00 2001 From: Ric101 Date: Sat, 25 May 2013 08:57:49 +0100 Subject: Core/Conditions: Missing grid search support for CONDITION_CREATURE_TYPE --- src/server/game/Conditions/ConditionMgr.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp index d89b885af42..6cde8bcbcb4 100644 --- a/src/server/game/Conditions/ConditionMgr.cpp +++ b/src/server/game/Conditions/ConditionMgr.cpp @@ -484,6 +484,9 @@ uint32 Condition::GetSearcherTypeMaskForCondition() case CONDITION_UNIT_STATE: mask |= GRID_MAP_TYPE_MASK_CREATURE | GRID_MAP_TYPE_MASK_PLAYER; break; + case CONDITION_CREATURE_TYPE: + mask |= GRID_MAP_TYPE_MASK_CREATURE; + break; default: ASSERT(false && "Condition::GetSearcherTypeMaskForCondition - missing condition handling!"); break; -- cgit v1.2.3