Changeset 6365 for code/branches
- Timestamp:
- Dec 16, 2009, 9:43:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc
r6360 r6365 258 258 259 259 // Reset pitch and yaw rates 260 this->currentPitch_ = 0; 261 this->currentYaw_ = 0; 260 // TODO: Reactivate this to fix the game pad problem with 0 input 261 //this->currentPitch_ = 0; 262 //this->currentYaw_ = 0; 262 263 263 264 HumanController::tick(dt); … … 480 481 void NewHumanController::changeMode() 481 482 { 482 if (NewHumanController::localController_s && NewHumanController::localController_s->controlMode_ == 0) 483 { 483 if (NewHumanController::localController_s) 484 { 485 if (NewHumanController::localController_s->controlMode_ == 0) 486 { 484 487 NewHumanController::localController_s->controlMode_ = 1; 485 488 NewHumanController::localController_s->hideArrows(); 486 } 487 else 488 NewHumanController::localController_s->controlMode_ = 0; 489 } 490 else 491 NewHumanController::localController_s->controlMode_ = 0; 492 } 489 493 } 490 494
Note: See TracChangeset
for help on using the changeset viewer.