Changeset 1907 for code/trunk/src/orxonox/gamestates
- Timestamp:
- Oct 12, 2008, 7:40:47 PM (16 years ago)
- Location:
- code/trunk/src/orxonox/gamestates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gamestates/GSClient.cc
r1755 r1907 33 33 #include "core/CommandLine.h" 34 34 #include "network/Client.h" 35 #include "Settings.h" 35 36 36 37 namespace orxonox … … 50 51 void GSClient::enter() 51 52 { 53 Settings::_getInstance().bIsClient_ = true; 54 52 55 GSLevel::enter(); 53 56 … … 77 80 78 81 GSLevel::leave(); 82 83 Settings::_getInstance().bIsClient_ = false; 79 84 } 80 85 -
code/trunk/src/orxonox/gamestates/GSServer.cc
r1755 r1907 83 83 this->server_->close(); 84 84 delete this->server_; 85 Settings::_getInstance().bHasServer_ = false; 85 86 86 87 GSLevel::leave(); 87 88 Settings::_getInstance().bHasServer_ = false;89 88 } 90 89
Note: See TracChangeset
for help on using the changeset viewer.