- Timestamp:
- Dec 20, 2005, 1:05:44 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/christmas_branche/src/world_entities/creatures/md2_creature.cc
r6170 r6171 218 218 {} 219 219 220 WorldEntity* ref = NULL;221 220 /** 222 221 * this function is called, when two entities collide … … 227 226 void MD2Creature::collidesWith(WorldEntity* entity, const Vector& location) 228 227 { 229 if (entity->isA(CL_TURRET_POWER_UP) && entity != ref)228 if (entity->isA(CL_TURRET_POWER_UP) ) 230 229 { 231 230 this->ADDWEAPON(); 232 ref = entity;233 231 } 234 232 // PRINTF(3)("collision %s vs %s @ (%f,%f,%f)\n", this->getClassName(), entity->getClassName(), location.x, location.y, location.z);
Note: See TracChangeset
for help on using the changeset viewer.