Skip to content

Commit

Permalink
- New cheat.
Browse files Browse the repository at this point in the history
  • Loading branch information
drfrag666 committed Jun 23, 2018
1 parent fa447cb commit 5c80c4d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/c_cmds.cpp
Expand Up @@ -821,6 +821,12 @@ CCMD(changesky)
R_InitSkyMap ();
}

//============================================================================
//
// Missing cheats
//
//============================================================================

CCMD(idkfa)
{
if (CheckCheatmode ())
Expand Down Expand Up @@ -907,6 +913,19 @@ CCMD(idclip)
Net_WriteByte (CHT_NOCLIP);
}

CCMD(randi)
{
if (CheckCheatmode ())
return;

Net_WriteByte (DEM_GIVECHEAT);
Net_WriteString ("health");
Net_WriteWord (0);
Net_WriteByte (DEM_GIVECHEAT);
Net_WriteString ("greenarmor");
Net_WriteWord (0);
}

EXTERN_CVAR(Float, r_spritedistancecull)
EXTERN_CVAR(Float, r_linedistancecull)

Expand Down

0 comments on commit 5c80c4d

Please sign in to comment.