mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: pmove: initialize trace argument in PM_TraceModel
This commit is contained in:
parent
c076f4ff8e
commit
85895c5311
@ -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…
x
Reference in New Issue
Block a user