Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 20, 2007, 10:11:59 PM (17 years ago)
Author:
bknecht
Message:

fixed stupid gui segfault

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

Legend:

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

    r10744 r10748  
    328328  }
    329329 
    330   /*
     330 
    331331  if( this->bFire2 )
    332332  {
     
    353353  {
    354354      this->changeZoom = true;
    355   }*/
    356   if( this->bFire2 )
     355  }
     356  /*if( this->bFire2 )
    357357  {
    358358      if( this->changeZoom )
     
    378378      this->changeZoom = true;
    379379      this->changingZoom = false;
    380   }
    381 
    382   this->getWeaponManager().tick(time);
     380  }*/
     381
     382  /*this->getWeaponManager().tick(time);
    383383  if( this->bFire)
    384384  {
    385385    this->getWeaponManager().fire();
    386   }
     386  }*/
     387  Playable::tick(time);
    387388
    388389
     
    448449  else
    449450      speed = 100;
     451
     452  velocity.normalize();
    450453  velocity *= speed;
    451454
  • branches/presentation/src/world_entities/playable.cc

    r10618 r10748  
    451451  if (this->bFire)
    452452    weaponMan.fire();
     453
     454  if (currentPlayer != NULL)
     455        currentPlayer->hud().tick(dt);
    453456}
    454457
Note: See TracChangeset for help on using the changeset viewer.