Changeset 11690 for code/branches/Presentation_HS17/src/orxonox/items
- Timestamp:
- Dec 18, 2017, 12:40:00 PM (7 years ago)
- Location:
- code/branches/Presentation_HS17
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_HS17
- Property svn:mergeinfo changed
/code/branches/Waypoints_HS17 reverse-merged: 11496,11523,11539,11559,11582,11603,11633,11655,11657,11659,11661,11687 /code/branches/ScriptableController_HS17 removed
- Property svn:mergeinfo changed
-
code/branches/Presentation_HS17/src/orxonox/items/ShipPart.cc
r11686 r11690 42 42 #include "items/PartDestructionEvent.h" 43 43 #include "chat/ChatManager.h" 44 #include "Level.h"45 #include "scriptablecontroller/scriptable_controller.h"46 44 47 45 … … 217 215 } 218 216 } 219 220 // This is a bit hacky, but it takes away damage control from the pawn, so it has to handle221 // that as well.222 this->getLevel()->getScriptableController()->pawnHit(parent_, originator, parent_->getHealth(), parent_->getShieldHealth());223 224 217 if (this->health_ < 0) 225 218 this->death();
Note: See TracChangeset
for help on using the changeset viewer.