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

View file

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