- Timestamp:
- Jul 4, 2006, 3:54:44 PM (18 years ago)
- Location:
- branches/presentation/src/world_entities/creatures
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/creatures/fps_player.cc
r9148 r9150 403 403 } 404 404 405 /*406 405 void FPSPlayer::respawn( ) 407 406 { 408 Playable::respawn(); 409 410 AABB* box = this->getModelAABB(); 411 if( box != NULL) 412 { 413 float f = 1.3f; 414 State::getCameraNode()->setRelCoor(0, box->halfLength[1] * f, 0); 415 State::getCameraTargetNode()->setRelCoor(10, box->halfLength[1] * f, 0); 416 417 this->getWeaponManager().setSlotPosition(0, Vector(1.5, box->halfLength[1] * f - 0.7, 1.1)); 418 this->getWeaponManager().setSlotPosition(1, Vector(5.0, box->halfLength[1] * f, 0.0)); 419 } 420 } 421 */ 422 423 424 407 toList( OM_PLAYERS ); 408 } 409 -
branches/presentation/src/world_entities/creatures/fps_player.h
r9139 r9150 27 27 virtual void reset(); 28 28 29 //virtual void respawn();29 virtual void respawn(); 30 30 31 31 virtual void tick(float time);
Note: See TracChangeset
for help on using the changeset viewer.