Changeset 9926 in orxonox.OLD for branches/network/src/world_entities/projectiles/bomb.cc
- Timestamp:
- Nov 9, 2006, 7:41:00 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/projectiles/bomb.cc
r9925 r9926 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.