diff options
author | aap <aap@papnet.eu> | 2020-12-21 13:33:54 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-21 13:33:54 +0100 |
commit | 1d7bdce0efb39ce977002fbc903f2b1be6b8ca04 (patch) | |
tree | d297423f726bf01453033a844237d61869af846c /src/core | |
parent | botched last commit (diff) | |
download | re3-1d7bdce0efb39ce977002fbc903f2b1be6b8ca04.tar re3-1d7bdce0efb39ce977002fbc903f2b1be6b8ca04.tar.gz re3-1d7bdce0efb39ce977002fbc903f2b1be6b8ca04.tar.bz2 re3-1d7bdce0efb39ce977002fbc903f2b1be6b8ca04.tar.lz re3-1d7bdce0efb39ce977002fbc903f2b1be6b8ca04.tar.xz re3-1d7bdce0efb39ce977002fbc903f2b1be6b8ca04.tar.zst re3-1d7bdce0efb39ce977002fbc903f2b1be6b8ca04.zip |
Diffstat (limited to 'src/core')
-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 5974175a..acb6caa2 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -410,7 +410,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(*var)); TweakVarsList[TweakVarsListSize++] = var; // TweakVarsList.push_back(var); |