Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old April 21, 2011, 13:31   #1
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,407
PowerWyrm is on a distinguished road
[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).
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!

Last edited by PowerWyrm; April 21, 2011 at 13:45.
PowerWyrm is offline   Reply With Quote
Old April 21, 2011, 14:36   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 53
Posts: 7,190
Donated: $60
Nick is on a distinguished road
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.
Nick is offline   Reply With Quote
Old April 21, 2011, 15:02   #3
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Nick View Post
My menufied version of the inventory/equipment display will fix this. ETA: 2054.
In the meantime ... any chance of a patch, PowerWyrm?
Magnate is offline   Reply With Quote
Old April 21, 2011, 15:56   #4
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 38
Posts: 1,516
d_m is on a distinguished road
I can take a look at fixing this... I think it won't be too hard (hopefully).
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old April 22, 2011, 10:38   #5
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,407
PowerWyrm is on a distinguished road
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 http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old April 22, 2011, 12:08   #6
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by PowerWyrm View Post
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.
Magnate is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[3.2] Weapon Smiths appears dark when out of LOS PowerWyrm Vanilla 0 April 21, 2011 13:27
Subwindows and fonts options in curses mode krugar Vanilla 7 October 3, 2010 18:54
reduce slot size PowerDiver Vanilla 70 August 16, 2010 19:04
How to display subwindows in Linux? dfreer Vanilla 4 October 4, 2008 11:07
FA 3.5 Wielding bug? - extra equipment slot buzzkill Variants 4 September 21, 2008 08:35


All times are GMT +1. The time now is 18:48.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.