From 000fb340062a6aafa7b7ab6a3cd57a8ae6810ad5 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Mon, 13 Dec 2021 12:57:10 -0800 Subject: [PATCH] Update call to FX_Corpse_Spawn --- src/server/gamerules_multiplayer.qc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server/gamerules_multiplayer.qc b/src/server/gamerules_multiplayer.qc index f3ea17e..a972a88 100644 --- a/src/server/gamerules_multiplayer.qc +++ b/src/server/gamerules_multiplayer.qc @@ -73,8 +73,7 @@ HLMultiplayerRules::PlayerDeath(base_player pl) if (pl.health < -50) { FX_GibHuman(pl.origin); } else { - NSRenderableEntity corpse = FX_Corpse_Spawn(pl); - corpse.SetFrame(ANIM_DIESIMPLE); + FX_Corpse_Spawn(pl, ANIM_DIESIMPLE); } /* now let's make the real client invisible */