1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:19:56 +00:00

Another remove function

This commit is contained in:
Jason Hooks 2012-04-12 20:59:30 -04:00
parent a885f3e942
commit 1f566fc93a
2 changed files with 10 additions and 0 deletions

View file

@ -410,4 +410,13 @@ void NpcAnimation::removeIndividualPart(int type){
}
void NpcAnimation::removePartGroup(int group){
for(int i = 0; i < 27; i++){
if(partslots[i] == group){
removeIndividualPart(i);
}
}
}
}

View file

@ -77,6 +77,7 @@ private:
virtual void runAnimation(float timepassed);
void updateParts();
void removeIndividualPart(int type);
void removePartGroup(int group);
};
}