aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Conditions/ConditionMgr.cpp
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-05-25 23:41:40 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-01-09 02:00:10 +0100
commitdfaf4542e6d39f1271a6673bc1bac4abbc1ead2a (patch)
treecb0415c087d63155badf0f866a7af0756ea7ba34 /src/server/game/Conditions/ConditionMgr.cpp
parent84166c385b9d26d1f142fcb5a80c2c905f877fe7 (diff)
Conditions/ConditionMgr: Add a comment so MitchesD can go away.
(cherry picked from commit 759aae56ad5e51e24ff6127fa655d8294c7de059)
Diffstat (limited to 'src/server/game/Conditions/ConditionMgr.cpp')
-rw-r--r--src/server/game/Conditions/ConditionMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp
index 15cc7dc824b..c72388865a2 100644
--- a/src/server/game/Conditions/ConditionMgr.cpp
+++ b/src/server/game/Conditions/ConditionMgr.cpp
@@ -752,7 +752,7 @@ bool ConditionMgr::IsObjectMeetToConditionList(ConditionSourceInfo& sourceInfo,
//! If not found, add an entry in the store and set to true (placeholder)
if (itr == elseGroupStore.end())
elseGroupStore[condition->ElseGroup] = true;
- else if (!(*itr).second)
+ else if (!(*itr).second) //! If another condition in this group was unmatched before this, don't bother checking (the group is false anyway)
continue;
if (condition->ReferenceId)//handle reference