Build fix. DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@5081 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2015-03-24 03:33:57 +00:00
parent c9ce545ab8
commit a9c32b758d
2 changed files with 12 additions and 1 deletions

View file

@ -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;

View file

@ -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<MAXTILES; i++)
@ -1739,7 +1740,9 @@ static void sv_preprojectilesave()
}
}
#ifdef DEBUGGINGAIDS
Bassert(g_numProjectiles == onumprojectiles);
#endif
}
static void sv_postprojectilesave()
@ -1754,7 +1757,9 @@ static void sv_preprojectileload()
static void sv_postprojectileload()
{
#ifdef DEBUGGINGAIDS
int onumprojectiles = g_numProjectiles;
#endif
g_numProjectiles = 0;
for (int i=0; i<MAXTILES; i++)
@ -1769,7 +1774,9 @@ static void sv_postprojectileload()
}
}
#ifdef DEBUGGINGAIDS
Bassert(g_numProjectiles == onumprojectiles);
#endif
// DO_FREE_AND_NULL(ProjectileData);
}