Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 6, 2008, 10:25:09 PM (16 years ago)
Author:
rgrieder
Message:

Added isClient() function in Settings.

File:
1 edited

Legend:

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

    r1755 r1892  
    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
Note: See TracChangeset for help on using the changeset viewer.