mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-28 11:41:31 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue