Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2008, 3:11:48 PM (15 years ago)
Author:
polakma
Message:

fixed WeaponPack attaching

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/weapon2/src/orxonox/objects/weaponSystem/WeaponSlot.cc

    r2308 r2319  
    6969
    7070
    71     //XMLPort functions
    7271    void WeaponSlot::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    7372    {
     
    7877    {   this->attachedWeapon_ = weaponPointer;   }
    7978
    80     Weapon * WeaponSlot::getAttachedWeapon(unsigned int index) const
     79    Weapon * WeaponSlot::getAttachedWeapon() const
    8180    {   return this->attachedWeapon_;   }
    8281
Note: See TracChangeset for help on using the changeset viewer.