• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionf6701128d64e8edab46c4939722a68f0706956e0 (tree)
Zeit2020-11-22 17:56:40
Autoriks <iks@user...>
Commiteriks

Log Message

[Fix] コミットcec52f2fのマージ漏れを適用(#40514 #40652 DARK_SOURCEフラグ持ちを適用) / Patch an unpatched modify of commit cec52f2f.

Ändern Zusammenfassung

Diff

--- a/src/cmd-item/cmd-refill.c
+++ b/src/cmd-item/cmd-refill.c
@@ -42,7 +42,7 @@ static void do_cmd_refill_lamp(player_type *user_ptr)
4242 object_flags(user_ptr, j_ptr, flgs2);
4343 j_ptr->xtra4 += o_ptr->xtra4;
4444 msg_print(_("ランプに油を注いだ。", "You fuel your lamp."));
45- if ((o_ptr->name2 == EGO_LITE_DARKNESS) && (j_ptr->xtra4 > 0)) {
45+ if (has_flag(flgs, TR_DARK_SOURCE) && (j_ptr->xtra4 > 0)) {
4646 j_ptr->xtra4 = 0;
4747 msg_print(_("ランプが消えてしまった!", "Your lamp has gone out!"));
4848 } else if (has_flag(flgs, TR_DARK_SOURCE) || has_flag(flgs2, TR_DARK_SOURCE)) {
Show on old repository browser