Tíquete #20035

持ち物/装備一覧サブウインドウでの重量0.0kgの表示

: 2009-12-28 16:45 Última Atualização: 2020-12-20 08:40

Relator:
(Anônimo)
Dono:
Tipo:
Estado:
Fechado
Componente:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
Nenhum

Details

重量がゼロのアイテム(天上のクローク)に関して、持ち物/装備一覧表示コマンドと相違がある。
コマンドでは0.0kgと表示されるが、サブウインドウでは重量表示がなくなり、
アイテム名がウインドウ幅いっぱいに表示される

以下、コマンドの動作に統一するパッチ

  1. diff --git a/src/object1.c b/src/object1.c
  2. index 4fc9bb6..0bb173e 100644
  3. --- a/src/object1.c
  4. +++ b/src/object1.c
  5. @@ -4425,7 +4425,7 @@ void display_inven(void)
  6. Term_erase(3+n, i, 255);
  7. /* Display the weight if needed */
  8. - if (show_weights && o_ptr->weight)
  9. + if (show_weights)
  10. {
  11. int wgt = o_ptr->weight * o_ptr->number;
  12. #ifdef JP
  13. @@ -4517,7 +4517,7 @@ void display_equip(void)
  14. Term_erase(3+n, i - INVEN_RARM, 255);
  15. /* Display the weight (if needed) */
  16. - if (show_weights && o_ptr->weight)
  17. + if (show_weights)
  18. {
  19. int wgt = o_ptr->weight * o_ptr->number;
  20. #ifdef JP

Ticket History (3/5 Histories)

2009-12-28 16:45 Updated by: None
  • New Ticket "持ち物/装備一覧サブウインドウでの重量0.0kgの表示" created
2010-01-05 17:04 Updated by: habu
  • Dono Update from (Nenhum) to habu
2010-01-05 17:04 Updated by: habu
Comentário

r3065にて修正。

2010-01-05 17:04 Updated by: habu
  • Ticket Close date is changed to 2010-01-05 17:04
  • Estado Update from Aberto to Fechado
2020-12-20 08:40 Updated by: deskull

Attachment File List

No attachments

Editar

Please login to add comment to this ticket » Login