1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 21:42:13 +00:00

Merge branch 'refactor/script-cleanup' into 'master'

Use pop_back to shrink the stack

See merge request OpenMW/openmw!1597
This commit is contained in:
jvoisin 2022-01-30 18:50:01 +00:00
commit d291b17c68

View File

@ -100,7 +100,7 @@ namespace Interpreter
if (mStack.empty())
throw std::runtime_error ("stack underflow");
mStack.resize (mStack.size()-1);
mStack.pop_back();
}
Data& Runtime::operator[] (int Index)