mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Fix "findnearactor" family of CON functions
git-svn-id: https://svn.eduke32.com/eduke32@7423 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
35efbccfa3
commit
bafc3b45a2
1 changed files with 2 additions and 2 deletions
|
@ -5463,7 +5463,7 @@ badindex:
|
|||
break;
|
||||
} while (findStatnum--);
|
||||
Gv_SetVarX(returnVar, foundSprite);
|
||||
dispatch();
|
||||
continue;
|
||||
}
|
||||
|
||||
do
|
||||
|
@ -5511,7 +5511,7 @@ badindex:
|
|||
int spriteNum = headspritestat[tw == CON_FINDNEARACTORZ ? STAT_ACTOR : findStatnum]; // all sprites
|
||||
|
||||
if (spriteNum == -1)
|
||||
dispatch();
|
||||
continue;
|
||||
do
|
||||
{
|
||||
if (sprite[spriteNum].picnum == findPicnum && spriteNum != vm.spriteNum)
|
||||
|
|
Loading…
Reference in a new issue