mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Misc: Fix a warning
This commit is contained in:
@@ -2299,7 +2299,7 @@ bool ConditionMgr::isConditionTypeValid(Condition* cond) const
|
||||
return false;
|
||||
}
|
||||
|
||||
if (cond->ConditionValue2 < 0 || cond->ConditionValue2 > 3)
|
||||
if (cond->ConditionValue2 > 3)
|
||||
{
|
||||
TC_LOG_ERROR("sql.sql", "%s has out-of-range quest objective index specified (%u), it must be a number between 0 and 3. skipped.", cond->ToString(true).c_str(), cond->ConditionValue2);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user