mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-22 03:40:49 +00:00
Merge branch 'more_move' into 'master'
Move action argument See merge request OpenMW/openmw!3844
This commit is contained in:
commit
557e83d502
@ -241,7 +241,7 @@ namespace MWLua
|
||||
for (unsigned i = 0; i < newStack.size(); ++i)
|
||||
newStack[i] = nameToMode.at(LuaUtil::cast<std::string_view>(modes[i + 1]));
|
||||
luaManager->addAction(
|
||||
[windowManager, newStack = std::move(newStack), arg]() {
|
||||
[windowManager, newStack = std::move(newStack), arg = std::move(arg)]() {
|
||||
MWWorld::Ptr ptr;
|
||||
if (arg.has_value())
|
||||
ptr = arg->ptr();
|
||||
|
Loading…
x
Reference in New Issue
Block a user