Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6171 in orxonox.OLD for branches/christmas_branche/src


Ignore:
Timestamp:
Dec 20, 2005, 1:05:44 AM (19 years ago)
Author:
bensch
Message:

christmas: fixed the linking bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/christmas_branche/src/world_entities/creatures/md2_creature.cc

    r6170 r6171  
    218218{}
    219219
    220 WorldEntity* ref = NULL;
    221220/**
    222221 *  this function is called, when two entities collide
     
    227226void MD2Creature::collidesWith(WorldEntity* entity, const Vector& location)
    228227{
    229   if (entity->isA(CL_TURRET_POWER_UP) && entity != ref)
     228  if (entity->isA(CL_TURRET_POWER_UP) )
    230229  {
    231230    this->ADDWEAPON();
    232     ref = entity;
    233231    }
    234232//  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.