- Timestamp:
- Oct 20, 2008, 12:04:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/DistanceTrigger.cc
r1959 r1961 71 71 void DistanceTrigger::addTargets(std::string targets) 72 72 { 73 Identifier* targetId = ID(targets);73 Identifier* targetId = ClassByString(targets); 74 74 targetMask_.include(targetId); 75 75 // trigger shouldn't react on itself or other triggers … … 80 80 void DistanceTrigger::removeTargets(std::string targets) 81 81 { 82 Identifier* targetId = ID(targets);82 Identifier* targetId = ClassByString(targets); 83 83 targetMask_.exclude(targetId); 84 84 }
Note: See TracChangeset
for help on using the changeset viewer.