- Added noclip2 cheat. This is similar to noclip, except it also adds nogravity and the ability to fly through 3D floors.
SVN r3832 (trunk)
This commit is contained in:
parent
adf9bd2e1a
commit
a505352da3
9 changed files with 72 additions and 11 deletions
|
|
@ -106,6 +106,20 @@ void cht_DoCheat (player_t *player, int cheat)
|
|||
msg = GStrings("STSTR_NCOFF");
|
||||
break;
|
||||
|
||||
case CHT_NOCLIP2:
|
||||
player->cheats ^= CF_NOCLIP2;
|
||||
if (player->cheats & CF_NOCLIP2)
|
||||
{
|
||||
player->cheats |= CF_NOCLIP;
|
||||
msg = GStrings("STSTR_NC2ON");
|
||||
}
|
||||
else
|
||||
{
|
||||
player->cheats &= ~CF_NOCLIP;
|
||||
msg = GStrings("STSTR_NCOFF");
|
||||
}
|
||||
break;
|
||||
|
||||
case CHT_NOVELOCITY:
|
||||
player->cheats ^= CF_NOVELOCITY;
|
||||
if (player->cheats & CF_NOVELOCITY)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue