- Timestamp:
- Apr 12, 2011, 9:41:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai/src/orxonox/controllers/ArtificialController.cc
r7843 r8238 1026 1026 void ArtificialController::doFire() 1027 1027 { 1028 if(ArtificialController::friendlyFire()) return;//catch if the bot would do friendlyFire 1028 1029 if(!bSetupWorked)//setup: find out which weapons are active ! hard coded: laser is "0", lens flare is "1", ... 1029 1030 { … … 1065 1066 } 1066 1067 } 1068 1067 1069 1068 1070 void ArtificialController::setBotLevel(float level)
Note: See TracChangeset
for help on using the changeset viewer.