Merge branch 'long-sprite-fix' into 'next'

Fix mirrored long sprite rotations not working in Software

See merge request STJr/SRB2!2511
This commit is contained in:
LJ Sonic 2024-09-06 14:13:45 +00:00
commit cb067beb6d

View file

@ -379,7 +379,7 @@ static void MirrorMissingRotations(void)
UINT8 baserotation = GetOppositeRotation(rotation, frame->rotate);
UINT32 lumpnum = frame->lumppat[baserotation - 1];
R_InstallSpriteLump(WADFILENUM(lumpnum), LUMPNUM(lumpnum), frame->lumpid[baserotation], framenum, rotation, 1);
R_InstallSpriteLump(WADFILENUM(lumpnum), LUMPNUM(lumpnum), frame->lumpid[baserotation - 1], framenum, rotation, 1);
}
}
}