Fixed: Player could crouch while dead.

SVN r209 (trunk)
This commit is contained in:
Christoph Oelckers 2006-06-21 17:59:34 +00:00
commit e7f21912a5
4 changed files with 5 additions and 4 deletions

View file

@ -1422,7 +1422,7 @@ void P_PlayerThink (player_t *player)
}
// Handle crouching
if (player->morphTics == 0 && !(dmflags & DF_NO_CROUCH))
if (player->morphTics == 0 && player->health > 0 && !(dmflags & DF_NO_CROUCH))
{
if (!(player->cheats & CF_TOTALLYFROZEN))
{