diff --git a/src/p_map.c b/src/p_map.c index 4f39319a6..9e34e04d9 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -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.