summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorshfil <filip.gawin@zoho.com>2021-01-31 15:00:36 +0100
committerGitHub <noreply@github.com>2021-01-31 15:00:36 +0100
commit5de4e88d7a7637d9e0f806855a8f0d66b4f2f276 (patch)
treef6a510c62b8322a11292acafbbc266d1c2c466c2 /src
parentrenderer fix from miami (diff)
downloadre3-5de4e88d7a7637d9e0f806855a8f0d66b4f2f276.tar
re3-5de4e88d7a7637d9e0f806855a8f0d66b4f2f276.tar.gz
re3-5de4e88d7a7637d9e0f806855a8f0d66b4f2f276.tar.bz2
re3-5de4e88d7a7637d9e0f806855a8f0d66b4f2f276.tar.lz
re3-5de4e88d7a7637d9e0f806855a8f0d66b4f2f276.tar.xz
re3-5de4e88d7a7637d9e0f806855a8f0d66b4f2f276.tar.zst
re3-5de4e88d7a7637d9e0f806855a8f0d66b4f2f276.zip
Diffstat (limited to '')
-rw-r--r--src/core/re3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 37b2cdf0..474a4644 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -690,7 +690,7 @@ void CTweakVars::Add(CTweakVar *var)
TweakVarsListSize = 0;
}
if(TweakVarsListSize > 63)
- TweakVarsList = (CTweakVar**) realloc(TweakVarsList, (TweakVarsListSize + 1) * sizeof(*var));
+ TweakVarsList = (CTweakVar**) realloc(TweakVarsList, (TweakVarsListSize + 1) * sizeof(CTweakVar*));
TweakVarsList[TweakVarsListSize++] = var;
// TweakVarsList.push_back(var);