Changeset 9966 in orxonox.OLD for branches/playability/src/world_entities/weapons/weapon.cc
- Timestamp:
- Nov 29, 2006, 10:04:35 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/weapon.cc
r9869 r9966 378 378 { 379 379 this->energy += energyToAdd; 380 this->updateWidgets(); 380 381 return 0.0; 381 382 } … … 383 384 { 384 385 this->energy += maxAddEnergy; 386 this->updateWidgets(); 385 387 return energyToAdd - maxAddEnergy; 386 388 } 389 387 390 } 388 391
Note: See TracChangeset
for help on using the changeset viewer.