Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 12, 2008, 7:40:47 PM (16 years ago)
Author:
scheusso
Message:

merged network branch back to trunk

Location:
code/trunk/src/orxonox/gamestates
Files:
2 edited

Legend:

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

    r1755 r1907  
    3333#include "core/CommandLine.h"
    3434#include "network/Client.h"
     35#include "Settings.h"
    3536
    3637namespace orxonox
     
    5051    void GSClient::enter()
    5152    {
     53        Settings::_getInstance().bIsClient_ = true;
     54
    5255        GSLevel::enter();
    5356
     
    7780
    7881        GSLevel::leave();
     82
     83        Settings::_getInstance().bIsClient_ = false;
    7984    }
    8085
  • code/trunk/src/orxonox/gamestates/GSServer.cc

    r1755 r1907  
    8383        this->server_->close();
    8484        delete this->server_;
     85        Settings::_getInstance().bHasServer_ = false;
    8586
    8687        GSLevel::leave();
    87 
    88         Settings::_getInstance().bHasServer_ = false;
    8988    }
    9089
Note: See TracChangeset for help on using the changeset viewer.