Changeset 10068 for code/branches/modularships
- Timestamp:
- May 22, 2014, 1:12:35 PM (10 years ago)
- Location:
- code/branches/modularships/src/orxonox
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/modularships/src/orxonox/CMakeLists.txt
r10019 r10068 31 31 PawnManager.cc 32 32 PlayerManager.cc 33 ShipPartManager.cc 33 34 Radar.cc 34 35 # Test.cc -
code/branches/modularships/src/orxonox/items/ShipPart.cc
r10067 r10068 85 85 void ShipPart::death() 86 86 { 87 if (!(this->isAlive()))88 return;87 //if (!(this->isAlive())) 88 //return; 89 89 90 90 this->explode(); … … 232 232 } 233 233 if (this->health_ < 0) 234 this->death(); 234 this->alive_ = false; 235 //this->death(); 235 236 236 237 // (Ugly) Chatoutput of health, until a GUI for modularspaceships-shipparts is implemented.
Note: See TracChangeset
for help on using the changeset viewer.