• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision4341a6807e694b1dacc819da97dfe4dda45be384 (tree)
Time2019-02-04 23:55:41
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Fix] #38923 メッセージの未定義変数参照バグ修正。 / Fix reference of undefined value.

Change Summary

Incremental Difference

--- a/src/player-damage.c
+++ b/src/player-damage.c
@@ -361,14 +361,14 @@ static bool acid_minus_ac(void)
361361 if (!o_ptr->k_idx) return (FALSE);
362362 if (!object_is_armour(o_ptr)) return (FALSE);
363363
364+ object_desc(o_name, o_ptr, (OD_OMIT_PREFIX | OD_NAME_ONLY));
365+ object_flags(o_ptr, flgs);
364366 /* No damage left to be done */
365367 if (o_ptr->ac + o_ptr->to_a <= 0)
366368 {
367369 msg_format(_("%sは既にボロボロだ!", "Your %s is already crumble!"), o_name);
368370 return (FALSE);
369371 }
370- object_desc(o_name, o_ptr, (OD_OMIT_PREFIX | OD_NAME_ONLY));
371- object_flags(o_ptr, flgs);
372372
373373 /* Object resists */
374374 if (have_flag(flgs, TR_IGNORE_ACID))
Show on old repository browser