GameRules: Fix player death
This commit is contained in:
parent
87031625a0
commit
d1f24b423f
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue