• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionc0e1f73635fa2d53a30a157cc06a83aaeba5cca7 (tree)
Time2019-06-15 16:35:02
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #39068 item_tester_tval を要さないケースの整理.

Change Summary

Incremental Difference

--- a/src/bldg.c
+++ b/src/bldg.c
@@ -2921,7 +2921,7 @@ static PRICE repair_broken_weapon_aux(PRICE bcost)
29212921 /* Only forge broken weapons */
29222922 item_tester_hook = item_tester_hook_broken_weapon;
29232923
2924- o_ptr = choose_object(&item, q, s, (USE_INVEN | USE_EQUIP), item_tester_tval);
2924+ o_ptr = choose_object(&item, q, s, (USE_INVEN | USE_EQUIP), 0);
29252925 if (!o_ptr) return (0);
29262926
29272927 /* It is worthless */
--- a/src/files.c
+++ b/src/files.c
@@ -6497,7 +6497,7 @@ void show_info(void)
64976497 if (p_ptr->equip_cnt)
64986498 {
64996499 Term_clear();
6500- (void)show_equip(0, USE_FULL, item_tester_tval);
6500+ (void)show_equip(0, USE_FULL, 0);
65016501 prt(_("装備していたアイテム: -続く-", "You are using: -more-"), 0, 0);
65026502
65036503 if (inkey() == ESCAPE) return;
@@ -6507,7 +6507,7 @@ void show_info(void)
65076507 if (p_ptr->inven_cnt)
65086508 {
65096509 Term_clear();
6510- (void)show_inven(0, USE_FULL, item_tester_tval);
6510+ (void)show_inven(0, USE_FULL, 0);
65116511 prt(_("持っていたアイテム: -続く-", "You are carrying: -more-"), 0, 0);
65126512
65136513 if (inkey() == ESCAPE) return;
Show on old repository browser