mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
small regression fix.
This commit is contained in:
parent
c16b88d709
commit
9b2f4976c9
2 changed files with 20 additions and 2 deletions
|
|
@ -2002,7 +2002,7 @@ ConsoleValue CodeBlock::exec(U32 ip, const char* functionName, Namespace* thisNa
|
|||
break;
|
||||
}
|
||||
|
||||
stack[_STK + 1].setInt(result);
|
||||
stack[_STK + 1].setFloat(result);
|
||||
_STK++;
|
||||
break;
|
||||
}
|
||||
|
|
@ -2139,7 +2139,7 @@ ConsoleValue CodeBlock::exec(U32 ip, const char* functionName, Namespace* thisNa
|
|||
{
|
||||
bool isGlobal = code[ip];
|
||||
|
||||
U32 failIp = code[ip + isGlobal ? 3 : 2];
|
||||
U32 failIp = code[ip + (isGlobal ? 3 : 2)];
|
||||
|
||||
IterStackRecord& iter = iterStack[_ITER];
|
||||
iter.mIsGlobalVariable = isGlobal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue