• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

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


Commit MetaInfo

Revision6ffe986ca934b893c265ff57e62309cc0db03098 (tree)
Time2020-03-08 21:08:25
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Fix] #40051 item_tester_tvalのリセットを追加して呪文学習後のアイテム処理ミスを修正. / Add reset of item_tester_tval in do_cmd_study() for fixing selection error after studying spells.

Change Summary

Incremental Difference

--- a/src/cmd/cmd-spell.c
+++ b/src/cmd/cmd-spell.c
@@ -802,6 +802,8 @@ void do_cmd_study(player_type *caster_ptr)
802802 s = _("読める本がない。", "You have no books that you can read.");
803803
804804 o_ptr = choose_object(caster_ptr, &item, q, s, (USE_INVEN | USE_FLOOR), item_tester_tval);
805+
806+ item_tester_tval = NULL;
805807 if (!o_ptr) return;
806808
807809 /* Access the item's sval */