- Timestamp:
- Oct 19, 2008, 2:24:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/infos/PlayerInfo.cc
r1947 r1949 35 35 #include "core/ConfigValueIncludes.h" 36 36 #include "core/XMLPort.h" 37 #include "core/Core.h" 37 38 38 39 #include "network/Host.h" 39 40 40 #include "Settings.h"41 41 #include "GraphicsEngine.h" 42 42 #include "objects/gametypes/Gametype.h" … … 51 51 52 52 this->ping_ = -1; 53 this->bLocalPlayer_ = Settings::isStandalone();53 this->bLocalPlayer_ = Core::isStandalone(); 54 54 this->bLocalPlayer_ = false; 55 55 this->bHumanPlayer_ = false; … … 78 78 { 79 79 std::cout << "# PI(" << this->getObjectID() << "): checkName: " << this->bLocalPlayer_ << std::endl; 80 if (this->bLocalPlayer_ && Settings::isMaster())80 if (this->bLocalPlayer_ && Core::isMaster()) 81 81 this->setName(this->playerName_); 82 82 } … … 114 114 //std::cout << "# PI(" << this->getObjectID() << "): checkClientID(): name: " << this->getName() << std::endl; 115 115 116 if ( Settings::isClient())116 if (Core::isClient()) 117 117 { 118 118 std::cout << "# PI(" << this->getObjectID() << "): checkClientID(): we're on a client: set object mode to bidirectional" << std::endl; … … 134 134 { 135 135 std::cout << "# PI(" << this->getObjectID() << "): finishedSetup(): " << this->bFinishedSetup_ << std::endl; 136 if ( Settings::isClient())136 if (Core::isClient()) 137 137 { 138 138 std::cout << "# PI(" << this->getObjectID() << "): finishedSetup(): we're a client: finish setup" << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.