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