Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5259 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Sep 25, 2005, 7:47:27 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: npc collide effect with player

File:
1 edited

Legend:

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

    r5258 r5259  
    4646    this->applyForce(Vector(0,0,0)-location*1000);
    4747  }
    48   else if (entity->isA(CL_NPC))
     48  else if (entity->isA(CL_PLAYER))
     49    this->applyForce(Vector(0,0,0)-location*100);
     50  else
    4951  {
    5052    this->setVisibiliy(false);
Note: See TracChangeset for help on using the changeset viewer.