Changeset 5259 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Sep 25, 2005, 7:47:27 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/npc.cc
r5258 r5259 46 46 this->applyForce(Vector(0,0,0)-location*1000); 47 47 } 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 49 51 { 50 52 this->setVisibiliy(false);
Note: See TracChangeset
for help on using the changeset viewer.