Changeset 8758 for code/branches/ai2/src/orxonox/worldentities
- Timestamp:
- Jul 14, 2011, 10:29:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/src/orxonox/worldentities/pawns/Pawn.cc
r8735 r8758 94 94 95 95 this->isHumanShip_ = this->hasLocalController(); 96 96 97 97 this->setSyncMode(ObjectDirection::Bidirectional); // needed to synchronise e.g. aimposition 98 98 } … … 304 304 if (this->getGametype() && this->getGametype()->allowPawnDeath(this, this->lastHitOriginator_)) 305 305 { 306 if ( this->getController()&& (!this->isHumanShip_) ) //announce death to the ai307 {308 this->getController()->setDeathFlag();309 }310 306 // Set bAlive_ to false and wait for PawnManager to do the destruction 311 307 this->bAlive_ = false;
Note: See TracChangeset
for help on using the changeset viewer.