Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4444 in orxonox.OLD for orxonox/trunk/src/lib/coord/null_parent.cc


Ignore:
Timestamp:
Jun 1, 2005, 10:17:14 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: setMode → setParentMode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/coord/null_parent.cc

    r4441 r4444  
    2626NullParent* NullParent::getInstance ()
    2727{
    28   if(!singletonRef)
    29     singletonRef = new NullParent ();
    30   return singletonRef;
     28  if(!NullParent::singletonRef)
     29    NullParent::singletonRef = new NullParent ();
     30  return NullParent::singletonRef;
    3131}
    3232
     
    3535  this->setName("NullParent");
    3636  this->setClassID(CL_NULL_PARENT, "NullParent");
    37   singletonRef = this;
    38   this->setMode(PNODE_ALL);
     37  NullParent::singletonRef = this;
     38  this->setParentMode(PNODE_ALL);
    3939}
    4040
Note: See TracChangeset for help on using the changeset viewer.