- Timestamp:
- Dec 3, 2008, 4:07:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickups2/src/orxonox/objects/controllers/HumanController.cc
r2087 r2324 47 47 SetConsoleCommand(HumanController, use, true); 48 48 SetConsoleCommand(HumanController, switchCamera, true); 49 SetConsoleCommand(HumanController, dropItems, true); 49 50 50 51 CreateUnloadableFactory(HumanController); … … 129 130 HumanController::localController_s->controllableEntity_->switchCamera(); 130 131 } 132 133 void HumanController::dropItems() 134 { 135 if (HumanController::localController_s && HumanController::localController_s->controllableEntity_) 136 HumanController::localController_s->controllableEntity_->dropItems(); 137 } 131 138 }
Note: See TracChangeset
for help on using the changeset viewer.