uncheatified "fov"

This commit is contained in:
Andreas 2020-02-22 10:03:10 +01:00
parent 6a07992e34
commit 3d6ef7d47a

View File

@ -900,10 +900,11 @@ CON_COMMAND( give, "Give item to player.\n\tArguments: <item_name>" )
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
CON_COMMAND( fov, "Change players FOV" )
CON_COMMAND( fov, "Change players FOV" ) //this is the "Fov" command
{
CBasePlayer *pPlayer = ToBasePlayer( UTIL_GetCommandClient() );
if ( pPlayer && sv_cheats->GetBool() )
//if ( pPlayer && sv_cheats->GetBool() )
if ( pPlayer )
{
if ( args.ArgC() > 1 )
{