From aa9e7f25edbc32d2ef319216e27eb148e0a633a1 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Fri, 12 Aug 2022 15:49:26 +0200 Subject: [PATCH] Fix CStdMemAlloc:Realloc() Missing argument mistake. --- r5dev/tier0/memstd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/r5dev/tier0/memstd.h b/r5dev/tier0/memstd.h index 0abb911d..d48b8f4b 100644 --- a/r5dev/tier0/memstd.h +++ b/r5dev/tier0/memstd.h @@ -13,8 +13,8 @@ public: template T* Realloc(T* pMem, size_t nSize) { - const int index = 2; - return CallVFunc(index, this, nSize); + const int index = 3; + return CallVFunc(index, this, pMem, nSize); } template void Free(T* pMem)