Changeset 9926 in orxonox.OLD for branches/network/src/world_entities/projectiles/test_bullet.cc
- Timestamp:
- Nov 9, 2006, 7:41:00 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/projectiles/test_bullet.cc
r9925 r9926 119 119 void TestBullet::collidesWith(WorldEntity* entity, const Vector& location) 120 120 { 121 if (this->hitEntity != entity && entity->isA( CL_NPC))121 if (this->hitEntity != entity && entity->isA( "NPC" )) 122 122 this->destroy( entity ); 123 123 this->hitEntity = entity;
Note: See TracChangeset
for help on using the changeset viewer.