engine: pmove: initialize trace argument in PM_TraceModel
This commit is contained in:
parent
c076f4ff8e
commit
85895c5311
2 changed files with 4 additions and 0 deletions
|
@ -794,6 +794,8 @@ static float GAME_EXPORT pfnTraceModel( physent_t *pe, float *start, float *end,
|
||||||
matrix4x4 matrix;
|
matrix4x4 matrix;
|
||||||
hull_t *hull;
|
hull_t *hull;
|
||||||
|
|
||||||
|
PM_InitTrace( trace, end );
|
||||||
|
|
||||||
old_usehull = clgame.pmove->usehull;
|
old_usehull = clgame.pmove->usehull;
|
||||||
clgame.pmove->usehull = 2;
|
clgame.pmove->usehull = 2;
|
||||||
|
|
||||||
|
|
|
@ -455,6 +455,8 @@ static float GAME_EXPORT pfnTraceModel( physent_t *pe, float *start, float *end,
|
||||||
matrix4x4 matrix;
|
matrix4x4 matrix;
|
||||||
hull_t *hull;
|
hull_t *hull;
|
||||||
|
|
||||||
|
PM_InitTrace( trace, end );
|
||||||
|
|
||||||
old_usehull = svgame.pmove->usehull;
|
old_usehull = svgame.pmove->usehull;
|
||||||
svgame.pmove->usehull = 2;
|
svgame.pmove->usehull = 2;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue