mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 06:41:59 +00:00
- Blood: fixed use of bad index variable in condCheckSector
This commit is contained in:
parent
44e0da1212
commit
bac1480997
1 changed files with 2 additions and 2 deletions
|
@ -3570,8 +3570,8 @@ bool condCheckSector(XSPRITE* pXCond, int cmpOp, bool PUSH) {
|
|||
SectIterator it(objIndex);
|
||||
while ((nSprite = it.NextIndex()) >= 0)
|
||||
{
|
||||
if (!condCmp(sprite[var].type, arg1, arg2, cmpOp)) continue;
|
||||
else if (PUSH) condPush(pXCond, OBJ_SPRITE, var);
|
||||
if (!condCmp(sprite[nSprite].type, arg1, arg2, cmpOp)) continue;
|
||||
else if (PUSH) condPush(pXCond, OBJ_SPRITE, nSprite);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue