From 04f8a902afc711c2ac8aaaa61ec7e686bbb4d784 Mon Sep 17 00:00:00 2001 From: Vincent-Michael Date: Tue, 29 Jul 2014 17:41:06 +0200 Subject: Core/Conditions: Added more infos for CONDITION_SPELL error log --- src/server/game/Conditions/ConditionMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server') diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp index c77b34a39a3..817adc9c45b 100644 --- a/src/server/game/Conditions/ConditionMgr.cpp +++ b/src/server/game/Conditions/ConditionMgr.cpp @@ -1756,9 +1756,9 @@ bool ConditionMgr::isConditionTypeValid(Condition* cond) } if (cond->ConditionValue2) - TC_LOG_ERROR("sql.sql", "Spell condition has useless data in value2 (%u)!", cond->ConditionValue2); + TC_LOG_ERROR("sql.sql", "Spell condition has useless data (spell Id: %d) in value2 (%u)!", cond->ConditionValue1, cond->ConditionValue2); if (cond->ConditionValue3) - TC_LOG_ERROR("sql.sql", "Spell condition has useless data in value3 (%u)!", cond->ConditionValue3); + TC_LOG_ERROR("sql.sql", "Spell condition has useless data (spell Id: %d) in value3 (%u)!", cond->ConditionValue1, cond->ConditionValue3); break; } case CONDITION_LEVEL: -- cgit v1.2.3