Changeset 8735 for code/branches/ai2/src/orxonox/worldentities
- Timestamp:
- Jul 7, 2011, 3:59:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/src/orxonox/worldentities/pawns/Pawn.cc
r8706 r8735 304 304 if (this->getGametype() && this->getGametype()->allowPawnDeath(this, this->lastHitOriginator_)) 305 305 { 306 if ( this->getController()&& (!this->isHumanShip_) ) //announce death to the ai 307 { 308 this->getController()->setDeathFlag(); 309 } 306 310 // Set bAlive_ to false and wait for PawnManager to do the destruction 307 311 this->bAlive_ = false;
Note: See TracChangeset
for help on using the changeset viewer.