- Timestamp:
- Jan 25, 2006, 4:09:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/powerups/src/world_entities/playable.cc
r6700 r6709 161 161 Weapon* weapon = dynamic_cast<WeaponPowerUp*>(powerUp)->getWeapon(); 162 162 WeaponManager* manager = this->getWeaponManager(); 163 manager->addWeapon(weapon, 2, -1); 164 return true; 163 return manager->addWeapon(weapon); 165 164 } 166 165 else if(powerUp->isA(CL_PARAM_POWER_UP)) {
Note: See TracChangeset
for help on using the changeset viewer.