Browse Source

Fix build.

half-screwed
Andrey Akhmichin 3 years ago
parent
commit
2b38cb642f
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0
  1. 2
      dlls/client.cpp

2
dlls/client.cpp

@ -680,7 +680,7 @@ void ClientCommand( edict_t *pEntity )
} }
else if( FStrEq( pcmd, "make" ) ) else if( FStrEq( pcmd, "make" ) )
{ {
if( g_pGameRules->IsMonster() && !g_flWeaponCheat ) if( g_pGameRules->IsMonster() && !g_enable_cheats->value )
return; return;
int iszItem = ALLOC_STRING( CMD_ARGV( 1 ) ); // Make a copy of the classname int iszItem = ALLOC_STRING( CMD_ARGV( 1 ) ); // Make a copy of the classname

Loading…
Cancel
Save