mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
P_XYMovement: initialise slopemom to all zeros
This commit is contained in:
parent
b9d116afb4
commit
d0d6f76f8e
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue