1
0
Fork 0
forked from fte/fteqw

minor cleanup.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6213 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2022-03-08 05:32:25 +00:00
parent 73c05fe3b2
commit e800079baf

View file

@ -786,18 +786,7 @@ static qintptr_t CG_SystemCalls(void *offset, quintptr_t mask, qintptr_t fn, con
if (!angles) if (!angles)
angles = vec3_origin; angles = vec3_origin;
if (mod && mod->loadstate == MLS_LOADED) if (mod && mod->loadstate == MLS_LOADED)
#if !defined(CLIENTONLY) || defined(CSQC_DAT)
worldfuncs->TransformedTrace(mod, 0, 0, start, end, mins, maxs, fn==CG_CM_TRANSFORMEDCAPSULETRACE, &tr, origin, angles, brushmask); worldfuncs->TransformedTrace(mod, 0, 0, start, end, mins, maxs, fn==CG_CM_TRANSFORMEDCAPSULETRACE, &tr, origin, angles, brushmask);
#else
{
#ifdef warningmsg
#pragma warningmsg("FIXME: G3 CGame requires World_TransformedTrace!")
#endif
memset(&tr, 0, sizeof(tr));
tr.allsolid = tr.startsolid = true;
tr.contents = 1;
}
#endif
else else
{ {
memset(&tr, 0, sizeof(tr)); memset(&tr, 0, sizeof(tr));