Changeset 2991 for code/branches/netp3/src/orxonox/objects
- Timestamp:
- May 19, 2009, 10:04:39 PM (16 years ago)
- Location:
- code/branches/netp3/src/orxonox/objects
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp3/src/orxonox/objects/CMakeLists.txt
r2826 r2991 10 10 Teamcolourable.cc 11 11 Tickable.cc 12 Test.cc13 12 Scene.cc 14 13 Script.cc -
code/branches/netp3/src/orxonox/objects/controllers/AIController.cc
r2990 r2991 101 101 void AIController::tick(float dt) 102 102 { 103 if( Core::isMaster())103 if(GameMode::isMaster()) 104 104 { 105 105 if (!this->isActive()) -
code/branches/netp3/src/orxonox/objects/worldentities/pawns/Pawn.cc
r2990 r2991 132 132 // this->firehack_ = 0x0; 133 133 134 if ( Core::isMaster())134 if (GameMode::isMaster()) 135 135 if (this->health_ <= 0) 136 136 this->death(); … … 263 263 void Pawn::doFire(uint8_t fireMode) 264 264 { 265 if( Core::isMaster())265 if(GameMode::isMaster()) 266 266 { 267 267 if (this->weaponSystem_)
Note: See TracChangeset
for help on using the changeset viewer.