Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 19, 2008, 8:43:36 PM (17 years ago)
Author:
landauf
Message:

using "XMLPort::Mode mode" instead of "bool loading" in all XMLPort functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core2/src/orxonox/objects/Ambient.cc

    r871 r902  
    8585        @return The XML-element
    8686    */
    87     void Ambient::XMLPort(Element& xmlelement, bool loading)
     87    void Ambient::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    8888    {
    89         BaseObject::XMLPort(xmlelement, loading);
     89        BaseObject::XMLPort(xmlelement, mode);
    9090
    91         XMLPortParamLoadOnly(Ambient, "colourvalue", setAmbientLight, xmlelement, loading);
     91        XMLPortParamLoadOnly(Ambient, "colourvalue", setAmbientLight, xmlelement, mode);
    9292    }
    9393}
Note: See TracChangeset for help on using the changeset viewer.