mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
Pass AnimPriority by const reference
This commit is contained in:
parent
660e7f5d89
commit
a33ca75742
@ -461,7 +461,7 @@ namespace MWRender
|
||||
mTextKeyListener->handleTextKey(groupname, key, map);
|
||||
}
|
||||
|
||||
void Animation::play(const std::string &groupname, AnimPriority priority, int blendMask, bool autodisable, float speedmult,
|
||||
void Animation::play(const std::string &groupname, const AnimPriority& priority, int blendMask, bool autodisable, float speedmult,
|
||||
const std::string &start, const std::string &stop, float startpoint, size_t loops, bool loopfallback)
|
||||
{
|
||||
if(!mObjectRoot || mAnimSources.empty())
|
||||
|
@ -353,7 +353,7 @@ public:
|
||||
* \param loopFallback Allow looping an animation that has no loop keys, i.e. fall back to use
|
||||
* the "start" and "stop" keys for looping?
|
||||
*/
|
||||
void play(const std::string &groupname, AnimPriority priority, int blendMask, bool autodisable,
|
||||
void play(const std::string &groupname, const AnimPriority& priority, int blendMask, bool autodisable,
|
||||
float speedmult, const std::string &start, const std::string &stop,
|
||||
float startpoint, size_t loops, bool loopfallback=false);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user