2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 09:57:21 +01:00

Do not break menuselect behavior.

This commit is contained in:
Night Owl 2017-04-03 21:16:25 +05:00
parent e099224bc5
commit 409848b80f

View File

@ -466,10 +466,10 @@ void ClientCommand( edict_t *pEntity )
edict_t *pentSpawnSpot = g_pGameRules->GetPlayerSpawnSpot( pPlayer );
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
}*/
}
else if( FStrEq( pcmd, "VModEnable" ) )
{
// clear 'Unknown command: VModEnable' in singleplayer