Changeset 5053 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Aug 16, 2005, 11:28:13 PM (19 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/npc.cc
r5049 r5053 43 43 void NPC::collidesWith(WorldEntity* entity, const Vector& location) 44 44 { 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); 46 47 } 47 48 -
orxonox/trunk/src/world_entities/weapons/test_gun.cc
r5049 r5053 118 118 this->setClassID(CL_TEST_GUN, "TestGun"); 119 119 120 this->model = (Model*)ResourceManager::getInstance()->load("models/guns/test_gun.obj", OBJ, RP_CAMPAIGN); 120 // this->model = (Model*)ResourceManager::getInstance()->load("models/guns/test_gun.obj", OBJ, RP_CAMPAIGN); 121 122 this->loadModel("models/guns/test_gun.obj"); 121 123 122 124 this->setStateDuration(WS_SHOOTING, .3);
Note: See TracChangeset
for help on using the changeset viewer.