diff --git a/source/duke3d/src/gameexec.cpp b/source/duke3d/src/gameexec.cpp index 335f57c05..ebed7eecd 100644 --- a/source/duke3d/src/gameexec.cpp +++ b/source/duke3d/src/gameexec.cpp @@ -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)