Fixed desync in Heretic

This commit is contained in:
Boondorl 2024-04-28 19:18:55 -04:00 committed by Ricardo Luís Vaz Silva
parent 929febdfb1
commit 2643a4a167

View file

@ -154,7 +154,7 @@ class PlayerPawn : Actor
if (health > 0) Height = FullHeight;
}
if (player && bWeaponLevel2Ended)
if (player && bWeaponLevel2Ended && !(player.cheats & CF_PREDICTING))
{
bWeaponLevel2Ended = false;
if (player.ReadyWeapon != NULL && player.ReadyWeapon.bPowered_Up)