mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-22 02:31:28 +00:00
same +1 offset in LOAD_V as STOREP fixed
This commit is contained in:
parent
c94c36d68b
commit
060bddb922
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@
|
|||
PRVM_ERROR ("%s Progs attempted to read an out of bounds edict number", PRVM_NAME);
|
||||
goto cleanup;
|
||||
}
|
||||
if (OPB->_int < 0 || OPB->_int + 3 >= prog->entityfields)
|
||||
if (OPB->_int < 0 || OPB->_int + 3 > prog->entityfields)
|
||||
{
|
||||
PRVM_ERROR("%s attempted to read an invalid field in an edict (%i)", PRVM_NAME, OPB->_int);
|
||||
goto cleanup;
|
||||
|
|
Loading…
Reference in a new issue