Skip to content

Commit

Permalink
kourendlibrary: Fix for rev 170 menu code
Browse files Browse the repository at this point in the history
The X/Y gets unpacked into the ActionParam and WidgetID now
  • Loading branch information
abextm committed May 11, 2018
1 parent 564f54a commit eb63fa2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private void onMenuOptionClicked(MenuOptionClicked menuOpt)
{
if (MenuAction.GAME_OBJECT_FIRST_OPTION == menuOpt.getMenuAction() && menuOpt.getMenuTarget().contains("Bookshelf"))
{
lastBookcaseClick = WorldPoint.fromRegion(client, menuOpt.getId() & 127, menuOpt.getId() >> 7 & 127, client.getPlane());
lastBookcaseClick = WorldPoint.fromRegion(client, menuOpt.getActionParam(), menuOpt.getWidgetId(), client.getPlane());
}
}

Expand Down

0 comments on commit eb63fa2

Please sign in to comment.