From f52923fb4d5afe2f78c74c36fe920e338164afdd Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sat, 6 Jun 2015 15:04:13 +0000 Subject: [PATCH] m32exec.c fix "multiple unsequenced modifications to 'insptr' [-Wunsequenced]". git-svn-id: https://svn.eduke32.com/eduke32@5262 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/m32exec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/m32exec.c b/polymer/eduke32/source/m32exec.c index e0c263bd8..b37f44113 100644 --- a/polymer/eduke32/source/m32exec.c +++ b/polymer/eduke32/source/m32exec.c @@ -1920,8 +1920,9 @@ badindex: case CON_ROTATEPOINT: insptr++; { - vec2_t pivot = { Gv_GetVarX(*insptr++), Gv_GetVarX(*insptr++) }; - vec2_t p = { Gv_GetVarX(*insptr++), Gv_GetVarX(*insptr++) } ; + vec2_t pivot = { Gv_GetVarX(*insptr), Gv_GetVarX(*(insptr+1)) }; + vec2_t p = { Gv_GetVarX(*(insptr+2)), Gv_GetVarX(*(insptr+3)) }; + insptr += 4; int32_t daang=Gv_GetVarX(*insptr++); int32_t x2var=*insptr++, y2var=*insptr++; vec2_t p2;