Merge remote-tracking branch 'runelite/master'

This commit is contained in:
Owain van Brakel
2021-10-02 22:12:27 +02:00
2 changed files with 5 additions and 6 deletions

View File

@@ -115,8 +115,8 @@ public class LocalPoint
public static LocalPoint fromScene(int x, int y)
{
return new LocalPoint(
(x << Perspective.LOCAL_COORD_BITS) + (1 << Perspective.LOCAL_COORD_BITS - 1) - 1,
(y << Perspective.LOCAL_COORD_BITS) + (1 << Perspective.LOCAL_COORD_BITS - 1) - 1
(x << Perspective.LOCAL_COORD_BITS) + (1 << Perspective.LOCAL_COORD_BITS - 1),
(y << Perspective.LOCAL_COORD_BITS) + (1 << Perspective.LOCAL_COORD_BITS - 1)
);
}