Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2007, 10:33:59 PM (18 years ago)
Author:
snellen
Message:

some fixes

File:
1 edited

Legend:

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

    r9869 r10287  
    358358  if( this->bJump && likely(this->getModel(0) != NULL))
    359359  {
    360     if( this->jumpForce < 1.0f)
    361     {
    362       this->jumpForce = 300.0f;
    363 
    364       if( ((InteractiveModel*)this->getModel(0))->getAnimation() != JUMP)
    365         ((InteractiveModel*)this->getModel(0))->setAnimation(JUMP);
    366     }
     360    printf("pedestrianOne:walkTo( %f, 35, %f) \n", this->getAbsCoor().x, this->getAbsCoor().z);
     361    this->bJump = false;
     362    //if( this->jumpForce < 1.0f)
     363    //{
     364      //this->jumpForce = 300.0f;
     365
     366    //  if( ((InteractiveModel*)this->getModel(0))->getAnimation() != JUMP)
     367      //  ((InteractiveModel*)this->getModel(0))->setAnimation(JUMP);
     368  //}
    367369  }
    368370  else if(velocity.len() != 0.0f)
Note: See TracChangeset for help on using the changeset viewer.