Server: Make it so you can't walk around after you die.
This commit is contained in:
parent
722a6ac5cd
commit
cacc015ae0
|
@ -59,8 +59,11 @@ void
|
||||||
TFCGameRules::PlayerDeath(NSClientPlayer pp)
|
TFCGameRules::PlayerDeath(NSClientPlayer pp)
|
||||||
{
|
{
|
||||||
player pl = (player)pp;
|
player pl = (player)pp;
|
||||||
pp.think = PlayerRespawn;
|
|
||||||
pp.nextthink = time + 4.0f;
|
pl.SetSolid(SOLID_NOT);
|
||||||
|
pl.SetMovetype(MOVETYPE_NONE);
|
||||||
|
pl.think = PlayerRespawn;
|
||||||
|
pl.nextthink = time + 4.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue