Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9188 in orxonox.OLD for branches/presentation/src/world_entities


Ignore:
Timestamp:
Jul 5, 2006, 7:32:59 AM (18 years ago)
Author:
patrick
Message:

aiming system now works

Location:
branches/presentation/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/creatures/fps_player.cc

    r9186 r9188  
    258258  if( this->bFire)
    259259  {
    260     this->getWeaponManager().fire();
     260    //this->getWeaponManager().fire();
    261261
    262262    WorldEntity* target = this->aimingSystem->getNearestTarget();
  • branches/presentation/src/world_entities/weapons/aiming_system.cc

    r9187 r9188  
    6262
    6363  // registering default reactions:
    64 //   this->unsubscribeReaction(CREngine::CR_OBJECT_DAMAGE);
     64  this->unsubscribeReaction(CREngine::CR_OBJECT_DAMAGE);
    6565  this->subscribeReaction(CREngine::CR_OBJECT_DAMAGE, CL_WORLD_ENTITY);
    6666
     
    120120{
    121121  this->selectionList.push_back(killer);
    122 
    123   PRINTF(0)("hit hit hit, got: %s\n", killer->getClassName());
    124   printf("aimingsystem: hit()\n");
    125122}
    126123
     
    134131{
    135132
    136 //   this->selectionList.clear();
     133
    137134}
    138135
Note: See TracChangeset for help on using the changeset viewer.