Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5053 in orxonox.OLD for orxonox/trunk/src/world_entities/npc.cc


Ignore:
Timestamp:
Aug 16, 2005, 11:28:13 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: loadModel in Projectiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/npc.cc

    r5049 r5053  
    4343void NPC::collidesWith(WorldEntity* entity, const Vector& location)
    4444{
    45   PRINTF(0)("collision %s vs %s @ (%f,%f,%f)\n", this->getName(), entity->getName(), location.x, location.y, location.z);
     45  if (entity->isA(CL_PROJECTILE))
     46    PRINTF(0)("collision %s vs %s @ (%f,%f,%f)\n", this->getName(), entity->getName(), location.x, location.y, location.z);
    4647}
    4748
Note: See TracChangeset for help on using the changeset viewer.