|
|
@ -496,10 +496,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
|
|
|
|