Skip to content

Commit

Permalink
game: enable trace on debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Aranud committed Feb 8, 2020
1 parent 8f30655 commit a68a441
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/game/bg_pmove.c
Expand Up @@ -456,7 +456,10 @@ void PM_TraceAllParts(trace_t *trace, float *legsOffset, vec3_t start, vec3_t en

if (adjust)
{
Com_Printf("%i:adjust\n", c_pmove);
if (pm->debugLevel)
{
Com_Printf("%i:adjust\n", c_pmove);
}

VectorSubtract(end, start, trace->endpos);
VectorMA(start, trace->fraction, trace->endpos,
Expand Down

0 comments on commit a68a441

Please sign in to comment.