Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6709 in orxonox.OLD for branches


Ignore:
Timestamp:
Jan 25, 2006, 4:09:29 PM (19 years ago)
Author:
manuel
Message:

my code works ;) —> bensch's turn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/powerups/src/world_entities/playable.cc

    r6700 r6709  
    161161    Weapon* weapon = dynamic_cast<WeaponPowerUp*>(powerUp)->getWeapon();
    162162    WeaponManager* manager = this->getWeaponManager();
    163     manager->addWeapon(weapon, 2, -1);
    164     return true;
     163    return manager->addWeapon(weapon);
    165164  }
    166165  else if(powerUp->isA(CL_PARAM_POWER_UP)) {
Note: See TracChangeset for help on using the changeset viewer.