VarAction2: Fix loads of temporary variable 0 not being tracked

This commit is contained in:
Jonathan G Rennison
2024-02-01 18:13:01 +00:00
parent b49a38bf6c
commit 000ae23eb2

View File

@@ -1856,7 +1856,7 @@ static bool CheckDeterministicSpriteGroupOutputVarBits(const DeterministicSprite
/* Unpredictable load */ /* Unpredictable load */
bits.set(); bits.set();
} }
if (adjust.variable == 0x7D && adjust.parameter) { if (adjust.variable == 0x7D) {
bits.set(adjust.parameter & 0xFF, true); bits.set(adjust.parameter & 0xFF, true);
} }
if (adjust.variable == 0x7E) { if (adjust.variable == 0x7E) {