mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-27 14:37:04 +00:00
Use pop_back to shrink the stack
This commit is contained in:
parent
251327fb9c
commit
1832ed6a48
@ -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…
x
Reference in New Issue
Block a user