Fixed: Player could crouch while dead.
SVN r209 (trunk)
This commit is contained in:
parent
14765bf64b
commit
e7f21912a5
4 changed files with 5 additions and 4 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue