- Timestamp:
- Jan 17, 2007, 10:35:47 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/heathaze/src/world_entities/creatures/fps_player.cc
r10287 r10288 358 358 if( this->bJump && likely(this->getModel(0) != NULL)) 359 359 { 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 //}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 } 369 369 } 370 370 else if(velocity.len() != 0.0f)
Note: See TracChangeset
for help on using the changeset viewer.