mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- Fixed: The time freezer power should do nothing while predicting.
SVN r4333 (trunk)
This commit is contained in:
parent
c6dd658aa8
commit
b9e771576f
1 changed files with 2 additions and 1 deletions
|
@ -1441,7 +1441,8 @@ void APowerTimeFreezer::DoEffect()
|
||||||
Super::DoEffect();
|
Super::DoEffect();
|
||||||
// [RH] Do not change LEVEL_FROZEN on odd tics, or the Revenant's tracer
|
// [RH] Do not change LEVEL_FROZEN on odd tics, or the Revenant's tracer
|
||||||
// will get thrown off.
|
// will get thrown off.
|
||||||
if (level.time & 1)
|
// [ED850] Don't change it if the player is predicted either.
|
||||||
|
if (level.time & 1 || (Owner != NULL && Owner->player != NULL && Owner->player->cheats & CF_PREDICTING))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue