refactor(Core): Improve readability (#22691)

This commit is contained in:
天鹭
2025-08-19 21:03:03 +08:00
committed by GitHub
parent a19dc17cc5
commit 2602add0fd
6 changed files with 8 additions and 8 deletions

View File

@@ -68,7 +68,7 @@ bool Condition::Meets(ConditionSourceInfo& sourceInfo)
{
// don't allow 0 items (it's checked during table load)
ASSERT(ConditionValue2);
bool checkBank = !!ConditionValue3;
bool checkBank = ConditionValue3;
condMeets = player->HasItemCount(ConditionValue1, ConditionValue2, checkBank);
}
}