• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision7e7c0110e7e39031a20c25146cd8a24b568c08b5 (tree)
Time2010-01-05 16:51:40
Authorhabu <habu@0568...>
Commiterhabu

Log Message

重量0のアイテムをサブウィンドウで表示した時に重量の表示が無くならないように修正。

Change Summary

Incremental Difference

--- a/src/object1.c
+++ b/src/object1.c
@@ -4424,7 +4424,7 @@ void display_inven(void)
44244424 Term_erase(3+n, i, 255);
44254425
44264426 /* Display the weight if needed */
4427- if (show_weights && o_ptr->weight)
4427+ if (show_weights)
44284428 {
44294429 int wgt = o_ptr->weight * o_ptr->number;
44304430 #ifdef JP
@@ -4516,7 +4516,7 @@ void display_equip(void)
45164516 Term_erase(3+n, i - INVEN_RARM, 255);
45174517
45184518 /* Display the weight (if needed) */
4519- if (show_weights && o_ptr->weight)
4519+ if (show_weights)
45204520 {
45214521 int wgt = o_ptr->weight * o_ptr->number;
45224522 #ifdef JP
Show on old repository browser