Fix demonic gorilla overlay position on fixed screen

This commit is contained in:
WooxSolo
2018-06-08 03:12:09 +02:00
committed by Adam
parent 69380ab459
commit 98a17caf3b

View File

@@ -97,6 +97,10 @@ public class DemonicGorillaOverlay extends Overlay
gorilla.getNpc().getLogicalHeight() + 16);
if (point != null)
{
point = new Point(
client.getViewportXOffset() + point.getX(),
client.getViewportYOffset() + point.getY());
List<DemonicGorilla.AttackStyle> attackStyles = gorilla.getNextPosibleAttackStyles();
List<BufferedImage> icons = new ArrayList<>();
int totalWidth = (attackStyles.size() - 1) * OVERLAY_ICON_MARGIN;