From a90f47c1ea10e4bb518a2c597b4fbe736cb8314c Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Wed, 25 Mar 2015 21:30:52 +0000 Subject: [PATCH] C-CON: Fix processing the bytecode in an incorrect order when executing setplayer on a member with a second parameter, a missed instance of a consideration from r5086. git-svn-id: https://svn.eduke32.com/eduke32@5092 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/gameexec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index edf633212..b8535209e 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -4241,8 +4241,9 @@ finish_qsprintf: insptr++; { tw=*insptr++; - int const lLabelID=*insptr++, lVar2 = *insptr++; + int const lLabelID=*insptr++; int const lParm2 = (PlayerLabels[lLabelID].flags & LABEL_HASPARM2) ? Gv_GetVarX(*insptr++) : 0; + int const lVar2 = *insptr++; register int32_t const iPlayer = (tw != g_iThisActorID) ? Gv_GetVarX(tw) : vm.g_p; register int32_t const iSet = Gv_GetVarX(lVar2);