GameRules: Fix player death

This commit is contained in:
Marco Cawthorne 2022-08-26 15:51:08 -07:00
parent 87031625a0
commit d1f24b423f
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 2 additions and 3 deletions

View File

@ -71,11 +71,10 @@ HLGameRules::PlayerDeath(NSClientPlayer pl)
g_dmg_eAttacker.frags++;
}
pl.movetype = MOVETYPE_NONE;
pl.solid = SOLID_NOT;
pl.Death();
pl.takedamage = DAMAGE_NO;
pl.gflags &= ~GF_FLASHLIGHT;
pl.armor = pl.activeweapon = pl.g_items = 0;
pl.gflags &= ~GF_EGONBEAM;
pl.think = PutClientInServer;
pl.nextthink = time + 4.0f;