Merge pull request #1022 from Allofich/anim

Make loopgroup loop correct number of times
pull/35/head
scrawl 8 years ago committed by GitHub
commit c3340ec143

@ -89,7 +89,7 @@ namespace MWScript
throw std::runtime_error ("animation mode out of range");
}
MWBase::Environment::get().getMechanicsManager()->playAnimationGroup (ptr, group, mode, loops, true);
MWBase::Environment::get().getMechanicsManager()->playAnimationGroup (ptr, group, mode, loops + 1, true);
}
};

Loading…
Cancel
Save