P_PushSpecialLine: It's possible for tm.blockingline to be NULL but the player be blocked.

This commit is contained in:
toaster 2023-01-21 16:52:25 +00:00
parent d2d7421072
commit 65c0860a9d

View file

@ -2242,6 +2242,12 @@ void P_PushSpecialLine(line_t *line, mobj_t *thing)
return; return;
} }
if (line == NULL)
{
// Invalid line.
return;
}
player = thing->player; player = thing->player;
if (player != NULL) if (player != NULL)