mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 07:07:10 +00:00
DIRECTOR: LINGO: Made assert statement meaningful
This commit is contained in:
parent
e260008117
commit
7c177b45b2
@ -152,8 +152,7 @@ void Lingo::pushVoid() {
|
||||
}
|
||||
|
||||
Datum Lingo::pop(void) {
|
||||
if (_stack.size() == 0)
|
||||
assert(0);
|
||||
assert (_stack.size() != 0);
|
||||
|
||||
Datum ret = _stack.back();
|
||||
_stack.pop_back();
|
||||
|
Loading…
Reference in New Issue
Block a user