mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Reduced spam a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3111 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
51ec8d2912
commit
88aa502054
1 changed files with 13 additions and 5 deletions
|
@ -713,19 +713,19 @@ progsnum_t AddProgs(char *name)
|
|||
switch(progstype)
|
||||
{
|
||||
case PROG_QW:
|
||||
Con_Printf("Using QW progs\n");
|
||||
Con_DPrintf("Using QW progs\n");
|
||||
break;
|
||||
case PROG_NQ:
|
||||
Con_Printf("Using NQ progs\n");
|
||||
Con_DPrintf("Using NQ progs\n");
|
||||
break;
|
||||
case PROG_H2:
|
||||
Con_Printf("Using H2 progs\n");
|
||||
Con_DPrintf("Using H2 progs\n");
|
||||
break;
|
||||
case PROG_PREREL:
|
||||
Con_Printf("Using prerelease progs\n");
|
||||
Con_DPrintf("Using prerelease progs\n");
|
||||
break;
|
||||
default:
|
||||
Con_Printf("Using unknown progs, assuming NQ\n");
|
||||
Con_DPrintf("Using unknown progs, assuming NQ\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2600,6 +2600,10 @@ static void PF_traceboxh2 (progfuncs_t *prinst, struct globalvars_s *pr_globals)
|
|||
trace = SV_Move (v1, mins, maxs, v2, nomonsters, ent);
|
||||
ent->xv->hull = savedhull;
|
||||
|
||||
if (trace.startsolid)
|
||||
if (!sv_gameplayfix_honest_tracelines.value)
|
||||
trace.fraction = 1;
|
||||
|
||||
pr_global_struct->trace_allsolid = trace.allsolid;
|
||||
pr_global_struct->trace_startsolid = trace.startsolid;
|
||||
pr_global_struct->trace_fraction = trace.fraction;
|
||||
|
@ -2636,6 +2640,10 @@ static void PF_traceboxdp (progfuncs_t *prinst, struct globalvars_s *pr_globals)
|
|||
trace = SV_Move (v1, mins, maxs, v2, nomonsters, ent);
|
||||
ent->xv->hull = savedhull;
|
||||
|
||||
if (trace.startsolid)
|
||||
if (!sv_gameplayfix_honest_tracelines.value)
|
||||
trace.fraction = 1;
|
||||
|
||||
pr_global_struct->trace_allsolid = trace.allsolid;
|
||||
pr_global_struct->trace_startsolid = trace.startsolid;
|
||||
pr_global_struct->trace_fraction = trace.fraction;
|
||||
|
|
Loading…
Reference in a new issue