mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-30 02:11:34 +00:00
Remove unused stopLooping()
This commit is contained in:
parent
b0dc625b18
commit
0fd810707e
2 changed files with 0 additions and 14 deletions
|
@ -873,16 +873,6 @@ namespace MWRender
|
|||
addControllers();
|
||||
}
|
||||
|
||||
void Animation::stopLooping(const std::string& groupname)
|
||||
{
|
||||
AnimStateMap::iterator stateiter = mStates.find(groupname);
|
||||
if(stateiter != mStates.end())
|
||||
{
|
||||
stateiter->second.mLoopCount = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
void Animation::adjustSpeedMult(const std::string &groupname, float speedmult)
|
||||
{
|
||||
AnimStateMap::iterator state(mStates.find(groupname));
|
||||
|
|
|
@ -395,10 +395,6 @@ public:
|
|||
float speedmult, const std::string &start, const std::string &stop,
|
||||
float startpoint, size_t loops, bool loopfallback=false);
|
||||
|
||||
/** If the given animation group is currently playing, set its remaining loop count to '0'.
|
||||
*/
|
||||
void stopLooping(const std::string& groupName);
|
||||
|
||||
/** Adjust the speed multiplier of an already playing animation.
|
||||
*/
|
||||
void adjustSpeedMult (const std::string& groupname, float speedmult);
|
||||
|
|
Loading…
Reference in a new issue