mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-21 03:21:28 +00:00
Fixed unmorphed Actors still ticking
This commit is contained in:
parent
9129f0121b
commit
da4752d7ec
1 changed files with 4 additions and 1 deletions
|
@ -3810,8 +3810,11 @@ void AActor::Tick ()
|
|||
|
||||
// Check for Actor unmorphing, but only on the thing that is the morphed Actor.
|
||||
// Players do their own special checking for this.
|
||||
if (alternative != nullptr && !(flags & MF_UNMORPHED) && player == nullptr)
|
||||
if (alternative != nullptr && player == nullptr)
|
||||
{
|
||||
if (flags & MF_UNMORPHED)
|
||||
return;
|
||||
|
||||
int res = false;
|
||||
IFVIRTUAL(AActor, CheckUnmorph)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue