mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-23 08:33:50 +00:00
if statements
Changed: if check on vals now return true if the value has a string value %val = "test me" if(%val) will now return true since %val is not null Script side: string checks for "true" and "false" will now be parsed as integer values of 1 and 0. TEST VIGOUROUSLY
This commit is contained in:
parent
760c153232
commit
e56f4cb6a6
5 changed files with 39 additions and 4 deletions
|
|
@ -1144,6 +1144,7 @@ Con::EvalResult CodeBlock::exec(U32 ip, const char* functionName, Namespace* thi
|
|||
ip++;
|
||||
break;
|
||||
}
|
||||
|
||||
ip = code[ip];
|
||||
break;
|
||||
case OP_JMPIFF:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue