mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-16 08:32:02 +00:00
- fixed: A pusher thinker must destroy itself if the point pusher/puller thing is gone.
This commit is contained in:
parent
b48f4032d8
commit
e07d413095
1 changed files with 5 additions and 0 deletions
|
@ -193,6 +193,11 @@ void DPusher::Tick ()
|
||||||
|
|
||||||
if (m_Type == p_push)
|
if (m_Type == p_push)
|
||||||
{
|
{
|
||||||
|
if (m_Source == nullptr)
|
||||||
|
{
|
||||||
|
Destroy();
|
||||||
|
return;
|
||||||
|
}
|
||||||
// Seek out all pushable things within the force radius of this
|
// Seek out all pushable things within the force radius of this
|
||||||
// point pusher. Crosses sectors, so use blockmap.
|
// point pusher. Crosses sectors, so use blockmap.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue