mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix huge bug in CON_COPY
git-svn-id: https://svn.eduke32.com/eduke32@7060 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
1c5ddca44a
commit
b50b1ad198
1 changed files with 1 additions and 1 deletions
|
@ -5079,7 +5079,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop)
|
|||
= (aGameArrays[srcArray].flags & GAMEARRAY_VARSIZE) ? Gv_GetVarX(aGameArrays[srcArray].size) : aGameArrays[srcArray].size;
|
||||
|
||||
int const destArraySize
|
||||
= (aGameArrays[destArray].flags & GAMEARRAY_VARSIZE) ? Gv_GetVarX(aGameArrays[srcArray].size) : aGameArrays[destArray].size;
|
||||
= (aGameArrays[destArray].flags & GAMEARRAY_VARSIZE) ? Gv_GetVarX(aGameArrays[destArray].size) : aGameArrays[destArray].size;
|
||||
|
||||
if (EDUKE32_PREDICT_FALSE(srcArrayIndex > srcArraySize || destArrayIndex > destArraySize))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue