Changeset 3833 in orxonox.OLD for orxonox/trunk/src/animation_player.cc
- Timestamp:
- Apr 14, 2005, 2:03:05 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/animation_player.cc
r3821 r3833 142 142 143 143 144 Anim* AnimationPlayer::getObjectFromBaseObject(const BaseObject* baseObject) const 145 { 146 tIterator<Anim>* animIt = this->animationList->getIterator(); 147 Anim* anim = animIt->nextElement(); 148 while( anim != NULL) 149 { 150 if(anim->getBaseObject() == baseObject) 151 { 152 delete animIt; 153 return anim; 154 } 155 anim = animIt->nextElement(); 156 } 157 delete animIt; 158 159 } 160 161 144 162 145 163 /**
Note: See TracChangeset
for help on using the changeset viewer.