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:
commit
d291b17c68
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user