VarAction2: Allow DSGA_OP_STO_NC to be used with DSGA_TYPE_EQ/NEQ

This commit is contained in:
Jonathan G Rennison
2022-06-07 22:21:51 +01:00
parent d3dce79d73
commit 65407210a6
3 changed files with 16 additions and 14 deletions

View File

@@ -345,8 +345,8 @@ struct DeterministicSpriteGroupAdjust {
DeterministicSpriteGroupAdjustFlags adjust_flags = DSGAF_NONE;
uint32 parameter; ///< Used for variables between 0x60 and 0x7F inclusive.
uint32 and_mask;
uint32 add_val;
uint32 divmod_val;
uint32 add_val; ///< Also used for DSGA_TYPE_EQ/DSGA_TYPE_NEQ constants and DSGA_OP_TERNARY false value
uint32 divmod_val; ///< Also used for DSGA_OP_STO_NC
const SpriteGroup *subroutine;
};