Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9148 in orxonox.OLD


Ignore:
Timestamp:
Jul 4, 2006, 3:49:56 PM (18 years ago)
Author:
patrick
Message:

fly fix

File:
1 edited

Legend:

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

    r9139 r9148  
    154154    //subscribe to collision reaction
    155155  this->subscribeReaction(CREngine::CR_PHYSICS_FULL_WALK, CL_BSP_ENTITY);
    156  
     156
    157157  this->initWeapon = false;
    158158}
     
    218218void FPSPlayer::tick (float time)
    219219{
     220
    220221  if ( !this->initWeapon )
    221222  {
    222223    this->initWeapon = true;
    223    
     224
    224225    AABB* box = this->getModelAABB();
    225226    if( box != NULL)
     
    360361  }
    361362
     363  this->setOnGround(false);
     364
    362365}
    363366
Note: See TracChangeset for help on using the changeset viewer.