mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
CodeBlock::getFunctionArgs used the wrong offsets
This commit is contained in:
parent
0ebd75604d
commit
b486ab73bd
1 changed files with 2 additions and 2 deletions
|
|
@ -698,10 +698,10 @@ String CodeBlock::getFunctionArgs(U32 ip)
|
|||
{
|
||||
StringBuilder str;
|
||||
|
||||
U32 fnArgc = code[ip + 5];
|
||||
U32 fnArgc = code[ip + 8];
|
||||
for (U32 i = 0; i < fnArgc; ++i)
|
||||
{
|
||||
StringTableEntry var = CodeToSTE(code, ip + (i * 2) + 6);
|
||||
StringTableEntry var = CodeToSTE(code, ip + (i * 2) + 9);
|
||||
|
||||
if (i != 0)
|
||||
str.append(", ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue