mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-25 19:43:22 +00:00
Forgotten player check here
This commit is contained in:
parent
885d6fea1f
commit
d459407866
1 changed files with 1 additions and 1 deletions
|
|
@ -2790,7 +2790,7 @@ boolean P_TryMove(mobj_t *thing, fixed_t x, fixed_t y, boolean allowdropoff)
|
|||
const fixed_t maxstepmove = FixedMul(MAXSTEPMOVE, mapobjectscale);
|
||||
fixed_t maxstep = maxstepmove;
|
||||
|
||||
if (thing->player->kartstuff[k_waterskip])
|
||||
if (thing->player && thing->player->kartstuff[k_waterskip])
|
||||
maxstep += maxstepmove; // Add some extra stepmove when waterskipping
|
||||
|
||||
// If using type Section1:13, double the maxstep.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue