From a9c32b758d3b7ceec025a044e86cbf263e299bc2 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 24 Mar 2015 03:33:57 +0000 Subject: [PATCH] Build fix. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5081 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/polymost.c | 4 ++++ polymer/eduke32/source/savegame.c | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/polymost.c b/polymer/eduke32/build/src/polymost.c index 654060266..1bf6e87af 100644 --- a/polymer/eduke32/build/src/polymost.c +++ b/polymer/eduke32/build/src/polymost.c @@ -1539,6 +1539,10 @@ static void drawpoly(vec2f_t const * const dpxy, int32_t const n, int32_t method nguy = (opxy[1].x*uu[0] + opxy[1].y*uu[1] + opxy[1].z*uu[2])*r, ngvy = (opxy[1].x*vv[0] + opxy[1].y*vv[1] + opxy[1].z*vv[2])*r; + float ngdo = dd[0] - opxy[2].x * ngdx - opxy[2].y * ngdy, + nguo = uu[0] - opxy[2].x * ngux - opxy[2].y * nguy, + ngvo = vv[0] - opxy[2].x * ngvx - opxy[2].y * ngvy; + ngux *= hacksc.x; nguy *= hacksc.x; nguo *= hacksc.x; ngvx *= hacksc.y; ngvy *= hacksc.y; ngvo *= hacksc.y; diff --git a/polymer/eduke32/source/savegame.c b/polymer/eduke32/source/savegame.c index d70387a5b..7fb9e2929 100644 --- a/polymer/eduke32/source/savegame.c +++ b/polymer/eduke32/source/savegame.c @@ -1725,8 +1725,9 @@ static void sv_quoteload() static void sv_preprojectilesave() { ProjectileData = (projectile_t *) Xrealloc(ProjectileData, sizeof(projectile_t) * g_numProjectiles); - +#ifdef DEBUGGINGAIDS int onumprojectiles = g_numProjectiles; +#endif g_numProjectiles = 0; for (int i=0; i