Build config tweaks.
Changed NOLEGACY to HAVE_LEGACY (the negation was annoying). Added missing defines to the alternative build configs, and removed some obsolete ones. Fixed a crash in svc_setportalstate. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5446 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
3ee3230f96
commit
9f46ea14ff
59 changed files with 497 additions and 280 deletions
|
@ -2510,7 +2510,7 @@ trace_t World_Move (world_t *w, vec3_t start, vec3_t mins, vec3_t maxs, vec3_t e
|
|||
|
||||
if (passedict->xv->hitcontentsmaski)
|
||||
clip.hitcontentsmask = passedict->xv->hitcontentsmaski;
|
||||
#ifndef NOLEGACY
|
||||
#ifdef HAVE_LEGACY
|
||||
else if (passedict->xv->dphitcontentsmask)
|
||||
{
|
||||
unsigned int nm=0, fl = passedict->xv->dphitcontentsmask;
|
||||
|
@ -2544,7 +2544,7 @@ trace_t World_Move (world_t *w, vec3_t start, vec3_t mins, vec3_t maxs, vec3_t e
|
|||
clip.hitcontentsmask = nm;
|
||||
}
|
||||
#endif
|
||||
/*#ifndef NOLEGACY
|
||||
/*#ifdef HAVE_LEGACY
|
||||
else if (passedict->xv->hitcontentsmask)
|
||||
clip.hitcontentsmask = passedict->xv->hitcontentsmask;
|
||||
#endif*/
|
||||
|
@ -2570,7 +2570,7 @@ trace_t World_Move (world_t *w, vec3_t start, vec3_t mins, vec3_t maxs, vec3_t e
|
|||
wedict_t *other = WEDICT_NUM_UB(w->progs, *w->g.other);
|
||||
return World_ClipMoveToEntity (w, other, other->v->origin, other->v->angles, start, mins, maxs, end, hullnum, type & MOVE_HITMODEL, clip.capsule, clip.hitcontentsmask);
|
||||
}
|
||||
#ifndef NOLEGACY
|
||||
#ifdef HAVE_LEGACY
|
||||
if ((type&MOVE_WORLDONLY) == MOVE_WORLDONLY)
|
||||
{ //for compat with DP
|
||||
wedict_t *other = w->edicts;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue