Changeset 6021 for code/trunk/src/orxonox/gamestates/GSDedicatedClient.cc
- Timestamp:
- Nov 4, 2009, 12:28:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gamestates/GSDedicatedClient.cc
r5929 r6021 37 37 #include "util/Exception.h" 38 38 #include "util/Sleep.h" 39 #include "core/CommandLine .h"39 #include "core/CommandLineParser.h" 40 40 #include "core/CommandExecutor.h" 41 41 #include "core/Game.h" … … 80 80 #endif 81 81 82 this->client_ = new Client(CommandLine ::getValue("ip").getString(), CommandLine::getValue("port"));82 this->client_ = new Client(CommandLineParser::getValue("ip").getString(), CommandLine::getValue("port")); 83 83 COUT(0) << "Loading scene in client mode" << std::endl; 84 84 … … 93 93 void GSDedicatedClient::deactivate() 94 94 { 95 if ( this->client_)95 if (this->client_) 96 96 { 97 97 this->client_->closeConnection(); 98 98 delete this->client_; 99 99 } 100 100 101 101 closeThread_ = true; 102 102 #ifdef ORXONOX_PLATFORM_UNIX … … 143 143 escapeChar = 2; 144 144 continue; 145 145 } 146 146 else if ( escapeChar == 2 ) 147 147 {
Note: See TracChangeset
for help on using the changeset viewer.