mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
test
working test without scanstring changes
This commit is contained in:
parent
d8411b4a58
commit
0d4c335231
4 changed files with 12 additions and 12 deletions
|
|
@ -211,10 +211,10 @@ U32 IfStmtNode::compileStmt(CodeStream& codeStream, U32 ip)
|
|||
integer = false;
|
||||
}
|
||||
|
||||
if (testType == TypeReqString)
|
||||
if (testType == TypeReqString || testType == TypeReqNone)
|
||||
{
|
||||
ip = testExpr->compile(codeStream, ip, TypeReqString);
|
||||
codeStream.emit(OP_JMPIFNOT);
|
||||
codeStream.emit(OP_JMPSTRING);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue