Fix narrowing converison warning
This commit is contained in:
@@ -6462,7 +6462,7 @@ static void OptimiseVarAction2DeterministicSpriteGroupSimplifyStores(Determinist
|
|||||||
DeterministicSpriteGroupAdjust &adjust = group->adjusts[i];
|
DeterministicSpriteGroupAdjust &adjust = group->adjusts[i];
|
||||||
|
|
||||||
if (adjust.type == DSGA_TYPE_NONE && adjust.operation == DSGA_OP_RST && adjust.variable != 0x7E) {
|
if (adjust.type == DSGA_TYPE_NONE && adjust.operation == DSGA_OP_RST && adjust.variable != 0x7E) {
|
||||||
src_adjust = i;
|
src_adjust = (int)i;
|
||||||
is_constant = (adjust.variable == 0x1A);
|
is_constant = (adjust.variable == 0x1A);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user