mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-21 18:31:10 +00:00
- resolved a VM abort upon morphing while the tome of power is active
This commit is contained in:
parent
3ef60a40a5
commit
3b31dda6b8
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class PlayerPawn : Actor
|
|||
if (health > 0) Height = FullHeight;
|
||||
}
|
||||
|
||||
if (bWeaponLevel2Ended)
|
||||
if (player && bWeaponLevel2Ended)
|
||||
{
|
||||
bWeaponLevel2Ended = false;
|
||||
if (player.ReadyWeapon != NULL && player.ReadyWeapon.bPowered_Up)
|
||||
|
|
Loading…
Reference in a new issue