mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-11 15:40:39 +00:00
Avoid using string_view on a temporary
This commit is contained in:
parent
fc2f30dc4a
commit
5c92b18875
@ -258,7 +258,7 @@ namespace MWLua
|
||||
float startPoint = options.get_or("startPoint", 0.0f);
|
||||
bool forceLoop = options.get_or("forceLoop", false);
|
||||
|
||||
const std::string_view lowerGroup = { Misc::StringUtils::lowerCase(groupName) };
|
||||
const std::string lowerGroup = Misc::StringUtils::lowerCase(groupName);
|
||||
|
||||
auto animation = getMutableAnimationOrThrow(ObjectVariant(object));
|
||||
animation->play(lowerGroup, priority, blendMask, autoDisable, speed, start, stop, startPoint, loops,
|
||||
|
Loading…
x
Reference in New Issue
Block a user