mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-25 22:24:16 +00:00
Do not break menuselect behavior.
This commit is contained in:
parent
e099224bc5
commit
409848b80f
@ -466,10 +466,10 @@ void ClientCommand( edict_t *pEntity )
|
|||||||
edict_t *pentSpawnSpot = g_pGameRules->GetPlayerSpawnSpot( pPlayer );
|
edict_t *pentSpawnSpot = g_pGameRules->GetPlayerSpawnSpot( pPlayer );
|
||||||
pPlayer->StartObserver( pev->origin, VARS( pentSpawnSpot )->angles );
|
pPlayer->StartObserver( pev->origin, VARS( pentSpawnSpot )->angles );
|
||||||
}
|
}
|
||||||
/*else if( g_pGameRules->ClientCommand( GetClassPtr( (CBasePlayer *)pev ), pcmd ) )
|
else if( g_pGameRules->ClientCommand( GetClassPtr( (CBasePlayer *)pev ), pcmd ) )
|
||||||
{
|
{
|
||||||
// MenuSelect returns true only if the command is properly handled, so don't print a warning
|
// MenuSelect returns true only if the command is properly handled, so don't print a warning
|
||||||
}*/
|
}
|
||||||
else if( FStrEq( pcmd, "VModEnable" ) )
|
else if( FStrEq( pcmd, "VModEnable" ) )
|
||||||
{
|
{
|
||||||
// clear 'Unknown command: VModEnable' in singleplayer
|
// clear 'Unknown command: VModEnable' in singleplayer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user