mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
eval(methodWithReturnValue) wasn't passing along it's return value though the stringstack.fix courtessy of @jamesu
This commit is contained in:
parent
e7a4d61772
commit
3039f4399d
1 changed files with 3 additions and 0 deletions
|
|
@ -1831,7 +1831,10 @@ breakContinue:
|
||||||
floatStack[++_FLT] = (F32)ret;
|
floatStack[++_FLT] = (F32)ret;
|
||||||
}
|
}
|
||||||
else if(code[ip] == OP_STR_TO_NONE)
|
else if(code[ip] == OP_STR_TO_NONE)
|
||||||
|
{
|
||||||
|
STR.setStringValue(ret.getStringValue());
|
||||||
ip++;
|
ip++;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
STR.setStringValue((const char*)ret);
|
STR.setStringValue((const char*)ret);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue