diff --git a/src/game/Object/ObjectMgr.cpp b/src/game/Object/ObjectMgr.cpp index 11abe9cd..da2e1974 100644 --- a/src/game/Object/ObjectMgr.cpp +++ b/src/game/Object/ObjectMgr.cpp @@ -7576,7 +7576,8 @@ bool PlayerCondition::IsValid(uint16 entry, ConditionType condition, uint32 valu { sLog.outErrorDb("Creature in range condition (entry %u, type %u) has an invalid value in value2. (Range %u must be greater than 0), skipping.", entry, condition, value2); return false; - } + } + break; } case CONDITION_GAMEOBJECT_IN_RANGE: { @@ -7589,7 +7590,8 @@ bool PlayerCondition::IsValid(uint16 entry, ConditionType condition, uint32 valu { sLog.outErrorDb("Game object in range condition (entry %u, type %u) has an invalid value in value2 (range). (Range %u must be greater than 0), skipping.", entry, condition, value2); return false; - } + } + break; } case CONDITION_NONE: break;