Fix swapped U and V check

This commit is contained in:
Infi 2024-01-17 19:25:54 +01:00 committed by KazWolfe
parent 59278224f7
commit a1a96d762a

View file

@ -107,7 +107,7 @@ public class UldWrapper : IDisposable
private IDalamudTextureWrap? CopyRect(int width, int height, byte[] rgbaData, UldRoot.PartData part)
{
if (part.V + part.W > width || part.U + part.H > height)
if (part.U + part.W > width || part.V + part.H > height)
{
return null;
}