Core/Conditions: Corrected upper array bound requirement for PlayerConditionLogic
Port From (https://github.com/TrinityCore/TrinityCore/commit/38096181ebcc61df3155f6d419974cd96544e4a8)
This commit is contained in:
@@ -1768,7 +1768,7 @@ namespace Game
|
||||
|
||||
static bool PlayerConditionLogic(uint logic, bool[] results)
|
||||
{
|
||||
Cypher.Assert(results.Length < 16, "Logic array size must be equal to or less than 16");
|
||||
Cypher.Assert(results.Length < 8, "Logic array size must be equal to or less than 8");
|
||||
|
||||
for (var i = 0; i < results.Length; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user