P_XYMovement: initialise slopemom to all zeros

This commit is contained in:
Monster Iestyn 2020-05-28 17:35:14 +01:00
parent adb11eec1b
commit 7340442839
1 changed files with 1 additions and 1 deletions

View File

@ -1772,7 +1772,7 @@ void P_XYMovement(mobj_t *mo)
fixed_t oldx, oldy; // reducing bobbing/momentum on ice when up against walls
boolean moved;
pslope_t *oldslope = NULL;
vector3_t slopemom;
vector3_t slopemom = {0,0,0};
fixed_t predictedz = 0;
I_Assert(mo != NULL);