diff options
| author | Vincent-Michael <Vincent_Michael@gmx.de> | 2014-07-29 17:41:06 +0200 |
|---|---|---|
| committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2014-07-29 17:41:06 +0200 |
| commit | 04f8a902afc711c2ac8aaaa61ec7e686bbb4d784 (patch) | |
| tree | a7f48fde0fa91c1e2b70a3bcc8c5e3d742f4db36 /src | |
| parent | 7d4514c44777e570a5d1b5f2599e7965436966b5 (diff) | |
Core/Conditions: Added more infos for CONDITION_SPELL error log
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Conditions/ConditionMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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: |
