mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-23 10:00:25 +02:00
Fixes the source pos access for ENUM_if_statement (out of bounds index)
This commit is contained in:
1 file changed
+1
-1
@@ -1217,7 +1217,7 @@ __emit:
|
||||
|
||||
case ENUM_if_statement:
|
||||
EmitValue(val.node[1]);
|
||||
EmitVarToBool(val.node[4].sourcePosValue);
|
||||
EmitVarToBool(val.node[3].sourcePosValue);
|
||||
EmitIfJump(val.node[2], val.node[3].sourcePosValue);
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user