Fix abort in MP when respawning.

This commit is contained in:
Marisa the Magician 2018-06-01 19:19:01 +02:00
commit 9685bba79c
2 changed files with 2 additions and 0 deletions

View file

@ -58,3 +58,4 @@ This mod requires a recent devbuild of QZDoom. You can get them
- Sludge doesn't react to ceiling and wall movement
- Pulse gun beams behave oddly when the player is moving or looking up and
down. This might just be a rendering interpolation glitch, as usual
- Translocator allows telefragging of other players in coop.

View file

@ -167,6 +167,7 @@ Class UTPlayer : DoomPlayer
override void Tick()
{
Super.Tick();
if ( !player ) return;
if ( !footsteps ) footsteps = CVar.GetCVar('flak_footsteps',players[consoleplayer]);
if ( !footsteps.GetBool() ) return;
double ang = level.time/(20*TICRATE/35.)*360.;