Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 21, 2009, 1:16:35 AM (15 years ago)
Author:
scheusso
Message:

NHC creator hack is now not so hacky anymore ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc

    r6112 r6113  
    161161                if (wePtr)
    162162                {
    163                     BaseObject* creator = wePtr->getCreator();
    164                     if (this->targetMask_.isExcluded(creator->getIdentifier()))
     163                    BaseObject* parent = wePtr->getParent();
     164                    if (this->targetMask_.isExcluded(parent->getIdentifier()))
    165165                        continue;
    166166                }
Note: See TracChangeset for help on using the changeset viewer.