変愚蛮怒のメインリポジトリです
Revision | 7e7c0110e7e39031a20c25146cd8a24b568c08b5 (tree) |
---|---|
Time | 2010-01-05 16:51:40 |
Author | habu <habu@0568...> |
Commiter | habu |
重量0のアイテムをサブウィンドウで表示した時に重量の表示が無くならないように修正。
@@ -4424,7 +4424,7 @@ void display_inven(void) | ||
4424 | 4424 | Term_erase(3+n, i, 255); |
4425 | 4425 | |
4426 | 4426 | /* Display the weight if needed */ |
4427 | - if (show_weights && o_ptr->weight) | |
4427 | + if (show_weights) | |
4428 | 4428 | { |
4429 | 4429 | int wgt = o_ptr->weight * o_ptr->number; |
4430 | 4430 | #ifdef JP |
@@ -4516,7 +4516,7 @@ void display_equip(void) | ||
4516 | 4516 | Term_erase(3+n, i - INVEN_RARM, 255); |
4517 | 4517 | |
4518 | 4518 | /* Display the weight (if needed) */ |
4519 | - if (show_weights && o_ptr->weight) | |
4519 | + if (show_weights) | |
4520 | 4520 | { |
4521 | 4521 | int wgt = o_ptr->weight * o_ptr->number; |
4522 | 4522 | #ifdef JP |