mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-21 10:00:25 +02:00
Fixed code_pos not being incremented in EmitField
This commit is contained in:
1 parent
fd871d6c8f
commit
4263b2843a
1 file changed
+1
@@ -561,6 +561,7 @@ void ScriptCompiler::EmitField( sval_t listener_val, sval_t field_val, unsigned
|
||||
{
|
||||
AbsorbPrevOpcode();
|
||||
EmitOpcode( OP_LOAD_STORE_GAME_VAR + listener_val.node[ 1 ].byteValue, sourcePos );
|
||||
code_pos += sizeof(unsigned int);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user