#51: type command does not drop its argument anymore

This commit is contained in:
Louis Rubet 2017-05-02 17:48:14 +02:00
parent 3fb349e00b
commit 9ba4654812

View file

@ -136,7 +136,7 @@ void type()
{
MIN_ARGUMENTS(1);
int type = _stack->pop_back()->_type;
int type = _stack->back()->_type;
if (type < 0 || type >= (int)cmd_max)
type = (int)cmd_undef;