Bad Boy JH
2010-02-21 00:20:58
procedure MouseMM(x, y, randX, randY: Integer);
var
p: TPoint;
begin
if not rs_OnMinimap(x, y) then
exit;
p := RotatePoint(Point(x, y), 2 * pi - rs_GetCompassAngleRadians, MMCX, MMCY);
Mouse(p.x, p.y, randX, randY, True);
end;It wouldn't work before, does now…