mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed code_pos not being incremented in EmitField
This commit is contained in:
parent
fd871d6c8f
commit
4263b2843a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue