Changeset 9926 in orxonox.OLD for branches/network/src/world_entities/projectiles/laser.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/laser.cc
r9925 r9926 107 107 void Laser::collidesWith(WorldEntity* entity, const Vector& location) 108 108 { 109 if (this->hitEntity != entity && entity->isA( CL_NPC))109 if (this->hitEntity != entity && entity->isA( "NPC" )) 110 110 this->destroy( entity ); 111 111 this->hitEntity = entity;
Note: See TracChangeset
for help on using the changeset viewer.