- Timestamp:
- Dec 17, 2008, 8:00:43 AM (16 years ago)
- Location:
- code/branches/presentation
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation
- Property svn:mergeinfo changed
/code/branches/pickups2 (added) merged: 2110,2136,2202,2227,2289-2290,2293-2294,2324,2342,2389,2397
- Property svn:mergeinfo changed
-
code/branches/presentation/src/orxonox/objects/controllers/HumanController.cc
r2493 r2500 54 54 SetConsoleCommand(HumanController, addBots, true).defaultValues(1); 55 55 SetConsoleCommand(HumanController, killBots, true).defaultValues(0); 56 SetConsoleCommand(HumanController, dropItems, true); 56 57 57 58 CreateUnloadableFactory(HumanController); … … 170 171 HumanController::localController_s->controllableEntity_->getGametype()->killBots(amount); 171 172 } 173 174 void HumanController::dropItems() 175 { 176 if (HumanController::localController_s && HumanController::localController_s->controllableEntity_) 177 HumanController::localController_s->controllableEntity_->dropItems(); 178 } 172 179 } -
code/branches/presentation/src/orxonox/objects/controllers/HumanController.h
r2485 r2500 59 59 static void switchCamera(); 60 60 static void mouseLook(); 61 static void dropItems(); 61 62 62 63 static void suicide();
Note: See TracChangeset
for help on using the changeset viewer.