Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2010, 11:36:30 AM (14 years ago)
Author:
scheusso
Message:

changed commandline argument —ip to —dest in order to prevent misunderstandings
corrected typo in description

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/orxonox/gamestates/GSClient.cc

    r6426 r7122  
    4040    DeclareGameState(GSClient, "client", false, false);
    4141
    42     SetCommandLineArgument(ip, "127.0.0.1").information("Sever IP as string in the form #.#.#.#");
     42    SetCommandLineArgument(dest, "127.0.0.1").information("Server hostname/IP (IP in the form of #.#.#.#)");
    4343
    4444    GSClient::GSClient(const GameStateInfo& info)
     
    5656        GameMode::setIsClient(true);
    5757
    58         this->client_ = new Client(CommandLineParser::getValue("ip").getString(), CommandLineParser::getValue("port"));
     58        this->client_ = new Client(CommandLineParser::getValue("dest").getString(), CommandLineParser::getValue("port"));
    5959
    6060        if(!client_->establishConnection())
Note: See TracChangeset for help on using the changeset viewer.