Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2009, 12:28:59 PM (15 years ago)
Author:
rgrieder
Message:

Renamed CommandLine to CommandLineParse to avoid confusions with the class name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gamestates/GSDedicatedClient.cc

    r5929 r6021  
    3737#include "util/Exception.h"
    3838#include "util/Sleep.h"
    39 #include "core/CommandLine.h"
     39#include "core/CommandLineParser.h"
    4040#include "core/CommandExecutor.h"
    4141#include "core/Game.h"
     
    8080#endif
    8181
    82         this->client_ = new Client(CommandLine::getValue("ip").getString(), CommandLine::getValue("port"));
     82        this->client_ = new Client(CommandLineParser::getValue("ip").getString(), CommandLine::getValue("port"));
    8383        COUT(0) << "Loading scene in client mode" << std::endl;
    8484
     
    9393    void GSDedicatedClient::deactivate()
    9494    {
    95         if( this->client_ )
     95        if (this->client_)
    9696        {
    9797            this->client_->closeConnection();
    9898            delete this->client_;
    9999        }
    100        
     100
    101101        closeThread_ = true;
    102102#ifdef ORXONOX_PLATFORM_UNIX
     
    143143                        escapeChar = 2;
    144144                        continue;
    145                     }
     145}
    146146                    else if ( escapeChar == 2 )
    147147                    {
Note: See TracChangeset for help on using the changeset viewer.