Changeset 5988 in orxonox.OLD for branches/powerups/src/world_entities/space_ships
- Timestamp:
- Dec 8, 2005, 10:39:31 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/powerups/src/world_entities/space_ships/space_ship.cc
r5985 r5988 419 419 { 420 420 if(powerUp->isA(CL_WEAPON_POWER_UP)) { 421 Weapon weapon = dynamic_cast<WeaponPowerUp*>(powerUp)->getWeapon();421 Weapon* weapon = dynamic_cast<WeaponPowerUp*>(powerUp)->getWeapon(); 422 422 WeaponManager* manager = this->getWeaponManager(); 423 423 int slot = manager->getNextFreeSlot(0, weapon->getCapability());
Note: See TracChangeset
for help on using the changeset viewer.