From 53199e45531f9c79df0899fa707fce62bcbaa5e2 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 1 Sep 2020 15:02:02 +0300 Subject: [PATCH] - reset player's blocking line on traveling between levels It's not obvious where we can reset blocking line in a more generic way, and whether it's possible at all, because this member is exposed to scripting https://forum.zdoom.org/viewtopic.php?t=69747 --- src/g_level.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/g_level.cpp b/src/g_level.cpp index 4bbf76037..6500c8393 100644 --- a/src/g_level.cpp +++ b/src/g_level.cpp @@ -1428,6 +1428,7 @@ void FLevelLocals::StartTravel () if (Players[i]->health > 0) { pawn->UnlinkFromWorld (nullptr); + pawn->BlockingLine = nullptr; int tid = pawn->tid; // Save TID pawn->SetTID(0); pawn->tid = tid; // Restore TID (but no longer linked into the hash chain)