Changeset 7488 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- May 3, 2006, 12:03:47 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/test_entity.cc
r7198 r7488 21 21 #include "util/loading/factory.h" 22 22 #include "util/loading/load_param.h" 23 24 #include "kill.h" 25 #include "game_rules.h" 23 26 24 27 #include "test_entity.h" … … 99 102 this->dieHard(); 100 103 this->lastCollided = entity; 104 105 if(State::getGameRules()) 106 State::getGameRules()->registerKill(Kill(entity, this)); 101 107 } 102 108 } … … 108 114 if( this->bDeath) 109 115 return; 116 110 117 this->bDeath = true; 111 118 float anim;
Note: See TracChangeset
for help on using the changeset viewer.