Changeset 2896 for code/trunk/src/orxonox/objects/infos
- Timestamp:
- Apr 6, 2009, 1:59:00 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/gui merged: 2796,2798-2801,2805,2807-2808,2811,2814-2817,2834,2840-2850,2853-2854,2859,2862-2863,2869,2875,2887,2892
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/objects/infos/Bot.cc
r2662 r2896 30 30 #include "Bot.h" 31 31 32 #include "core/ Core.h"32 #include "core/GameMode.h" 33 33 #include "core/CoreIncludes.h" 34 34 #include "core/ConfigValueIncludes.h" … … 46 46 47 47 this->bHumanPlayer_ = false; 48 this->bLocalPlayer_ = Core::isMaster();48 this->bLocalPlayer_ = GameMode::isMaster(); 49 49 this->bSetUnreadyAfterSpawn_ = false; 50 50 this->setReadyToSpawn(true); -
code/trunk/src/orxonox/objects/infos/HumanPlayer.cc
r2890 r2896 30 30 #include "HumanPlayer.h" 31 31 32 #include "core/ Core.h"32 #include "core/GameMode.h" 33 33 #include "core/CoreIncludes.h" 34 34 #include "core/ConfigValueIncludes.h" … … 47 47 RegisterObject(HumanPlayer); 48 48 49 this->server_initialized_ = Core::isMaster();49 this->server_initialized_ = GameMode::isMaster(); 50 50 this->client_initialized_ = false; 51 51 … … 93 93 this->synchronize_nick_ = this->nick_; 94 94 95 if ( Core::isMaster())95 if (GameMode::isMaster()) 96 96 this->setName(this->nick_); 97 97 } … … 116 116 this->client_initialized_ = true; 117 117 118 if (! Core::isMaster())118 if (!GameMode::isMaster()) 119 119 this->setObjectMode(objectDirection::bidirectional); 120 120 else
Note: See TracChangeset
for help on using the changeset viewer.