[3.2] Quiver slot e) appears as f) in subwindows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PowerWyrm
    Prophet
    • Apr 2008
    • 2987

    [3.2] Quiver slot e) appears as f) in subwindows

    Pressing 'i': e) in Quiver: 20 missiles
    Looking at subwindow: f) in Quiver: 20 missiles

    This comes from the fact that index_to_label() is used to display the label for the quiver count, and for subwindows this is 1 more (due to the "Burden" line).
    Last edited by PowerWyrm; April 21, 2011, 12:45.
    PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
  • Nick
    Vanilla maintainer
    • Apr 2007
    • 9647

    #2
    My menufied version of the inventory/equipment display will fix this. ETA: 2054.
    One for the Dark Lord on his dark throne
    In the Land of Mordor where the Shadows lie.

    Comment

    • Magnate
      Angband Devteam member
      • May 2007
      • 5110

      #3
      Originally posted by Nick
      My menufied version of the inventory/equipment display will fix this. ETA: 2054.
      In the meantime ... any chance of a patch, PowerWyrm?
      "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

      Comment

      • d_m
        Angband Devteam member
        • Aug 2008
        • 1517

        #4
        I can take a look at fixing this... I think it won't be too hard (hopefully).
        linux->xterm->screen->pmacs

        Comment

        • PowerWyrm
          Prophet
          • Apr 2008
          • 2987

          #5
          Oh the fix is trivial... just do index_to_label(in_term? i - 1: i) instead of index_to_label(i) in obj_ui (should be line 169 in the latest source).
          PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!

          Comment

          • Magnate
            Angband Devteam member
            • May 2007
            • 5110

            #6
            Originally posted by PowerWyrm
            Oh the fix is trivial... just do index_to_label(in_term? i - 1: i) instead of index_to_label(i) in obj_ui (should be line 169 in the latest source).
            Sorted, thanks.
            "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

            Comment

            Working...
            😀
            😂
            🥰
            😘
            🤢
            😎
            😞
            😡
            👍
            👎