mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
Build fix. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5081 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c9ce545ab8
commit
a9c32b758d
2 changed files with 12 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue