diff options
author | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-07-16 18:22:03 +0200 |
---|---|---|
committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-07-16 18:22:03 +0200 |
commit | 0e4816771a6e8ba6dcf4d81386d96841ff3c02a2 (patch) | |
tree | edeb6beabb24c711dc81d1da758c1a74b946de74 /src | |
parent | 0cb8e12adda73b3fe39be4c3e45ffe113600cb1a (diff) |
Core/Conditions: Add more infos for invalid skill condition log error
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Conditions/ConditionMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp index dd3804cd9db..8007590cd37 100644 --- a/src/server/game/Conditions/ConditionMgr.cpp +++ b/src/server/game/Conditions/ConditionMgr.cpp @@ -1624,7 +1624,7 @@ bool ConditionMgr::isConditionTypeValid(Condition* cond) if (cond->ConditionValue2 < 1 || cond->ConditionValue2 > sWorld->GetConfigMaxSkillValue()) { - TC_LOG_ERROR(LOG_FILTER_SQL, "Skill condition specifies invalid skill value (%u), skipped", cond->ConditionValue2); + TC_LOG_ERROR(LOG_FILTER_SQL, "Skill condition specifies skill (%u) with invalid value (%u), skipped", cond->ConditionValue1, cond->ConditionValue2); return false; } if (cond->ConditionValue3) |