- resolved a VM abort upon morphing while the tome of power is active

This commit is contained in:
Blue Shadow 2021-09-24 14:20:33 +03:00 committed by Christoph Oelckers
parent 3ef60a40a5
commit 3b31dda6b8

View file

@ -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)