Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5986 in orxonox.OLD for branches/powerups


Ignore:
Timestamp:
Dec 8, 2005, 1:44:12 AM (19 years ago)
Author:
manuel
Message:

2 bugs resolved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/powerups/src/world_entities/power_ups/weapon_power_up.cc

    r5973 r5986  
    5656  static_cast<PowerUp*>(this)->loadParams(root);
    5757  const TiXmlElement* elem = root->FirstChildElement("weapon");
    58   if(elem != NULL && (elem = weapon->getFirstChildElement()) != NULL)
     58  if(elem != NULL && (elem = elem->getFirstChildElement()) != NULL)
    5959  {
    6060    this->weaponXML = elem;
     
    6363  else
    6464  {
    65     LoadParam(root, "weaponID", this, const char*, setWeaponClass);
     65    LoadParam(root, "weaponID", this, WeaponPowerUp, setWeaponClass);
    6666  }
    6767}
Note: See TracChangeset for help on using the changeset viewer.