Exemplo n.º 1
0
void G_UnregisterCommands( void )
{
  int i;

  for( i = 0; i < sizeof( svcmds ) / sizeof( svcmds[ 0 ] ); i++ )
  {
    if( svcmds[ i ].dedicated && !g_dedicated.integer )
      continue;
    trap_RemoveCommand( svcmds[ i ].cmd );
  }

  G_admin_unregister_cmds( );
}
Exemplo n.º 2
0
void G_UnregisterCommands()
{
    for ( unsigned i = 0; i < ARRAY_LEN( svcmds ); i++ )
    {
        if ( svcmds[ i ].conflicts && level.inClient )
        {
            continue;
        }

        trap_RemoveCommand( svcmds[ i ].cmd );
    }

    G_admin_unregister_cmds();
}
Exemplo n.º 3
0
void G_UnregisterCommands( void )
{
	int i;

	for ( i = 0; i < ARRAY_LEN( svcmds ); i++ )
	{
		if ( svcmds[ i ].dedicated && !g_dedicated.integer )
		{
			continue;
		}

		trap_RemoveCommand( svcmds[ i ].cmd );
	}

	G_admin_unregister_cmds();
}