mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed: Setting +NOCLIP for a player class did not work.
SVN r2371 (trunk)
This commit is contained in:
parent
e2ce20a445
commit
6ff2abc53d
1 changed files with 1 additions and 1 deletions
|
@ -2041,7 +2041,7 @@ void P_PlayerThink (player_t *player)
|
|||
player->inventorytics--;
|
||||
}
|
||||
// No-clip cheat
|
||||
if (player->cheats & CF_NOCLIP)
|
||||
if (player->cheats & CF_NOCLIP || (player->mo->GetDefault()->flags & MF_NOCLIP))
|
||||
{
|
||||
player->mo->flags |= MF_NOCLIP;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue