mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-20 15:40:32 +00:00
Remove unused stopLooping()
This commit is contained in:
parent
b0dc625b18
commit
0fd810707e
@ -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…
x
Reference in New Issue
Block a user