Disabled player sprites when crossing through portals.

This commit is contained in:
Major Cooke 2023-12-29 00:34:03 -06:00 committed by Rachael Alexanderson
commit f647545c1d
7 changed files with 52 additions and 14 deletions

View file

@ -3771,7 +3771,8 @@ void AActor::Tick ()
}
else
{
if (player)
player->crossingPortal = false;
if (!player || !(player->cheats & CF_PREDICTING))
{
// Handle powerup effects here so that the order is controlled