Changeset 7122
- Timestamp:
- Jun 7, 2010, 11:36:30 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/gamestates/GSClient.cc
r6426 r7122 40 40 DeclareGameState(GSClient, "client", false, false); 41 41 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 #.#.#.#)"); 43 43 44 44 GSClient::GSClient(const GameStateInfo& info) … … 56 56 GameMode::setIsClient(true); 57 57 58 this->client_ = new Client(CommandLineParser::getValue(" ip").getString(), CommandLineParser::getValue("port"));58 this->client_ = new Client(CommandLineParser::getValue("dest").getString(), CommandLineParser::getValue("port")); 59 59 60 60 if(!client_->establishConnection())
Note: See TracChangeset
for help on using the changeset viewer.