decomp: auto-inc end of range when repeating last type cast (#121)

This commit is contained in:
Tyler Wilding 2022-10-04 01:31:26 -04:00 committed by GitHub
parent 3e3bb24629
commit 759d43bceb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -414,7 +414,7 @@ async function repeatLastCast() {
if (endOpNum === undefined) {
return;
}
castContext.endOp = endOpNum;
castContext.endOp = endOpNum + 1;
}
if (lastTypeCastRegister === undefined || lastTypeCastType === undefined) {