OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a357659
)
重量0のアイテムをサブウィンドウで表示した時に重量の表示が無くならないように修正。
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 5 Jan 2010 07:51:40 +0000
(07:51 +0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 5 Jan 2010 07:51:40 +0000
(07:51 +0000)
src/object1.c
patch
|
blob
|
history
diff --git
a/src/object1.c
b/src/object1.c
index
e35dcba
..
ce3ab3b
100644
(file)
--- a/
src/object1.c
+++ b/
src/object1.c
@@
-4424,7
+4424,7
@@
void display_inven(void)
Term_erase(3+n, i, 255);
/* Display the weight if needed */
- if (show_weights
&& o_ptr->weight
)
+ if (show_weights)
{
int wgt = o_ptr->weight * o_ptr->number;
#ifdef JP
@@
-4516,7
+4516,7
@@
void display_equip(void)
Term_erase(3+n, i - INVEN_RARM, 255);
/* Display the weight (if needed) */
- if (show_weights
&& o_ptr->weight
)
+ if (show_weights)
{
int wgt = o_ptr->weight * o_ptr->number;
#ifdef JP