From 5e776b6db748533f8e68feae1b9ffe8e108f89f7 Mon Sep 17 00:00:00 2001 From: Adam Heinermann Date: Fri, 15 Nov 2024 04:33:17 -0800 Subject: [PATCH] fix(big): remove assert in Sub to allow a retail bug --- storm/big/Ops.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/storm/big/Ops.cpp b/storm/big/Ops.cpp index 7f63ea6..01996a6 100644 --- a/storm/big/Ops.cpp +++ b/storm/big/Ops.cpp @@ -393,7 +393,8 @@ void Sub(BigBuffer& a, const BigBuffer& b, const BigBuffer& c) { a.SetCount(i); - STORM_ASSERT(!borrow); + // This assert does not exist in retail WoW or Starcraft. + //STORM_ASSERT(!borrow); } void ToBinaryAppend(TSGrowableArray& output, const BigBuffer& buffer) {