From 9685bba79cceb2654c6fff9a674f85057949a99d Mon Sep 17 00:00:00 2001 From: Marisa Kirisame Date: Fri, 1 Jun 2018 19:19:01 +0200 Subject: [PATCH] Fix abort in MP when respawning. --- Readme.md | 1 + zscript/utcommon.zsc | 1 + 2 files changed, 2 insertions(+) diff --git a/Readme.md b/Readme.md index 742873c..c2adc08 100644 --- a/Readme.md +++ b/Readme.md @@ -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. diff --git a/zscript/utcommon.zsc b/zscript/utcommon.zsc index f62a8b1..19a8ca9 100644 --- a/zscript/utcommon.zsc +++ b/zscript/utcommon.zsc @@ -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.;