Changeset 6444 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.cc
- Timestamp:
- Jan 8, 2006, 10:45:03 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.cc
r6439 r6444 421 421 if (likely(this->soundBuffers[WA_ACTIVATE] != NULL)) 422 422 this->soundSource->play(this->soundBuffers[WA_ACTIVATE]); 423 this->updateWidgets(); 423 424 // activate 424 425 PRINTF(4)("Activating the Weapon %s\n", this->getName()); … … 482 483 if (this->soundBuffers[WA_SHOOT] != NULL) 483 484 this->soundSource->play(this->soundBuffers[WA_SHOOT]); 485 this->updateWidgets(); 484 486 // fire 485 487 this->energyLoaded -= this->minCharge; … … 526 528 this->energy -= chargeSize; 527 529 } 530 531 this->updateWidgets(); 528 532 this->reload(); 529 533 this->enterState(WS_RELOADING);
Note: See TracChangeset
for help on using the changeset viewer.