mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 01:21:17 +00:00
- fixed: A pusher thinker must destroy itself if the point pusher/puller thing is gone.
This commit is contained in:
parent
0e4f868281
commit
508b65bdd8
1 changed files with 5 additions and 0 deletions
|
@ -226,6 +226,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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue