From c23a9be920199a1c986b3e56d366423f44a143ec Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Thu, 5 Jan 2017 05:30:11 +0000 Subject: [PATCH] KenBuild: clipinsidebox takes a vec2_t now git-svn-id: https://svn.eduke32.com/eduke32@6002 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/testgame/src/game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/testgame/src/game.c b/polymer/eduke32/source/testgame/src/game.c index 81d86dc16..b53d332d4 100644 --- a/polymer/eduke32/source/testgame/src/game.c +++ b/polymer/eduke32/source/testgame/src/game.c @@ -2184,7 +2184,7 @@ void tagcode(void) //swingangopendir is -1 if forwards, 1 is backwards l = (swingangopendir[i] > 0); for (k=l+3; k>=l; k--) - if (clipinsidebox(pos[p].x,pos[p].y,swingwall[i][k],128L) != 0) + if (clipinsidebox((vec2_t *)&pos[p],swingwall[i][k],128L) != 0) { good = 0; break;