From e07d4130950bf8c3674a5eb7e86678a1f1e550d2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 18 Mar 2019 23:46:13 +0100 Subject: [PATCH] - fixed: A pusher thinker must destroy itself if the point pusher/puller thing is gone. --- src/g_shared/a_pusher.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/g_shared/a_pusher.cpp b/src/g_shared/a_pusher.cpp index bd9a40e5f..92cb502f7 100644 --- a/src/g_shared/a_pusher.cpp +++ b/src/g_shared/a_pusher.cpp @@ -193,6 +193,11 @@ void DPusher::Tick () if (m_Type == p_push) { + if (m_Source == nullptr) + { + Destroy(); + return; + } // Seek out all pushable things within the force radius of this // point pusher. Crosses sectors, so use blockmap.