diff options
author | shfil <filip.gawin@zoho.com> | 2021-01-31 15:00:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 15:00:36 +0100 |
commit | 5de4e88d7a7637d9e0f806855a8f0d66b4f2f276 (patch) | |
tree | f6a510c62b8322a11292acafbbc266d1c2c466c2 /src | |
parent | renderer fix from miami (diff) | |
download | re3-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 'src')
-rw-r--r-- | src/core/re3.cpp | 2 |
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); |