Changeset 4885 in orxonox.OLD for orxonox/trunk/src/world_entities/weapons/weapon_manager.cc
- Timestamp:
- Jul 18, 2005, 3:36:18 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapons/weapon_manager.cc
r4849 r4885 201 201 if( w1 != NULL ) 202 202 { 203 w1-> deactivate();203 w1->requestAction(WA_DEACTIVATE); 204 204 printf("deactivating %i,%i\n", j,lastConfID); 205 205 } 206 206 if( w2 != NULL) 207 207 { 208 w2-> activate();208 w2->requestAction(WA_ACTIVATE); 209 209 printf("activating %i,%i\n", j, this->currConfID); 210 210 } … … 223 223 { 224 224 firingWeapon = this->configs[this->currConfID].slots[i]; 225 if( firingWeapon != NULL) firingWeapon-> fire();225 if( firingWeapon != NULL) firingWeapon->requestAction(WA_SHOOT); 226 226 } 227 227 this->crosshair->setRotationSpeed(500);
Note: See TracChangeset
for help on using the changeset viewer.