eval(methodWithReturnValue) wasn't passing along it's return value though the stringstack.fix courtessy of @jamesu

This commit is contained in:
Azaezel 2014-11-20 14:17:59 -06:00
parent e7a4d61772
commit 3039f4399d

View file

@ -1831,7 +1831,10 @@ breakContinue:
floatStack[++_FLT] = (F32)ret;
}
else if(code[ip] == OP_STR_TO_NONE)
{
STR.setStringValue(ret.getStringValue());
ip++;
}
else
STR.setStringValue((const char*)ret);