From 0ece42110cf2ce3f5e1f6610b126a8a601d63b6c Mon Sep 17 00:00:00 2001 From: terminx Date: Fri, 29 Dec 2017 19:27:11 +0000 Subject: [PATCH] Fix breakage I introduced into CON_FOR while fixing breakage in CON_FOR. :( git-svn-id: https://svn.eduke32.com/eduke32@6576 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/gameexec.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/source/duke3d/src/gameexec.cpp b/source/duke3d/src/gameexec.cpp index bf5675220..3065f5cd2 100644 --- a/source/duke3d/src/gameexec.cpp +++ b/source/duke3d/src/gameexec.cpp @@ -5199,14 +5199,16 @@ finish_qsprintf: switch (iterType) { case ITER_ALLSPRITES: - for (native_t jj=0; jj=0;) + { + int const kk=nextspritestat[jj]; + Gv_SetVarX(returnVar, jj); + insptr = pNext; + VM_Execute(0); + jj=kk; + } } break; case ITER_ALLSECTORS: