Skip to content

Commit

Permalink
Show map arrow overlay if menus open except inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
conker-rsc committed Dec 23, 2023
1 parent 3f133f5 commit a2f4c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Game/Renderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ public static void present(Image image) {
// Arrow marker for destination
if (WorldMapWindow.getWaypointPosition() != null
&& !Client.isInterfaceOpen()
&& Client.show_menu == Client.MENU_NONE) {
&& Client.show_menu != Client.MENU_INVENTORY) {
float absCameraRotation =
((((float) Camera.rotation / 255.0f) * 360.0f) + 180.0f)
+ WorldMapWindow.getWaypointAngle();
Expand Down

0 comments on commit a2f4c31

Please sign in to comment.