変愚蛮怒のメインリポジトリです
Revision | 6ffe986ca934b893c265ff57e62309cc0db03098 (tree) |
---|---|
Zeit | 2020-03-08 21:08:25 |
Autor | deskull <deskull@user...> |
Commiter | deskull |
[Fix] #40051 item_tester_tvalのリセットを追加して呪文学習後のアイテム処理ミスを修正. / Add reset of item_tester_tval in do_cmd_study() for fixing selection error after studying spells.
@@ -802,6 +802,8 @@ void do_cmd_study(player_type *caster_ptr) | ||
802 | 802 | s = _("読める本がない。", "You have no books that you can read."); |
803 | 803 | |
804 | 804 | o_ptr = choose_object(caster_ptr, &item, q, s, (USE_INVEN | USE_FLOOR), item_tester_tval); |
805 | + | |
806 | + item_tester_tval = NULL; | |
805 | 807 | if (!o_ptr) return; |
806 | 808 | |
807 | 809 | /* Access the item's sval */ |