Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 26, 2006, 1:31:01 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: drawLists/tickLists are used, and made some TiXmlElement to const TiXmlElement, also fixed some bugs in the loadWorldEntities-functions from Gameworld and SipleGameMenu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/power_ups/weapon_power_up.cc

    r7221 r7370  
    8888  this->weapon = dynamic_cast<Weapon*>((weaponXML == NULL)
    8989      ? Factory::fabricate(static_cast<ClassID>(this->weapon->getLeafClassID()))
    90       : Factory::fabricate((TiXmlElement*)this->getXmlElem()->FirstChildElement("weapon")));
     90      : Factory::fabricate((const TiXmlElement*)this->getXmlElem()->FirstChildElement("weapon")));
    9191  this->model = this->weapon->getModel(0);
    9292}
Note: See TracChangeset for help on using the changeset viewer.