Changeset 6433 in orxonox.OLD for trunk/src/world_entities/weapons/guided_missile.cc
- Timestamp:
- Jan 8, 2006, 1:50:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/guided_missile.cc
r6431 r6433 134 134 void GuidedMissile::collidesWith(WorldEntity* entity, const Vector& location) 135 135 { 136 if (this->hitEntity != entity && entity->isA(CL_NPC))136 if (this->hitEntity != entity) 137 137 this->destroy(); 138 138 this->hitEntity = entity;
Note: See TracChangeset
for help on using the changeset viewer.