Changeset 6973 in orxonox.OLD for trunk/src/world_entities/playable.cc
- Timestamp:
- Feb 2, 2006, 10:20:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/playable.cc
r6966 r6973 207 207 { 208 208 if(powerUp->isA(CL_WEAPON_POWER_UP)) { 209 Weapon* weapon = dynamic_cast<WeaponPowerUp*>(powerUp)->getWeapon(); 210 WeaponManager* manager = this->getWeaponManager(); 211 return manager->addWeapon(weapon); 209 return dynamic_cast<WeaponPowerUp*>(powerUp)->process(this->getWeaponManager()); 212 210 } 213 211 else if(powerUp->isA(CL_PARAM_POWER_UP)) {
Note: See TracChangeset
for help on using the changeset viewer.