Changeset 10114 in orxonox.OLD for trunk/src/world_entities/projectiles/bomb.cc
- Timestamp:
- Dec 19, 2006, 11:55:26 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/bomb.cc
r9869 r10114 25 25 #include "debug.h" 26 26 27 #include "class_id_DEPRECATED.h" 28 ObjectListDefinition ID(Bomb, CL_BOMB);27 28 ObjectListDefinition(Bomb); 29 29 CREATE_FAST_FACTORY_STATIC(Bomb); 30 30 … … 166 166 void Bomb::collidesWith (WorldEntity* entity, const Vector& location) 167 167 { 168 if (this->lifeCycle < .9f && entity->isA( CL_NPC))168 if (this->lifeCycle < .9f && entity->isA( "NPC" )) 169 169 this->lifeCycle = 0.9f; 170 170 }
Note: See TracChangeset
for help on using the changeset viewer.