OSDN Git Service

[Fix] #38997 cave_clean_bold() 内変数参照修正. / Fix variable references in cave_clean_bold().
authordeskull <deskull@users.sourceforge.jp>
Thu, 2 Jan 2020 11:27:39 +0000 (20:27 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Thu, 2 Jan 2020 11:27:39 +0000 (20:27 +0900)
src/spells-floor.c

index 144505f..e17877e 100644 (file)
@@ -192,7 +192,7 @@ void wiz_dark(player_type *caster_ptr)
  */
 bool warding_glyph(player_type *caster_ptr)
 {
-       if (!cave_clean_bold(p_ptr->current_floor_ptr, caster_ptr->y, caster_ptr->x))
+       if (!cave_clean_bold(caster_ptr->current_floor_ptr, caster_ptr->y, caster_ptr->x))
        {
                msg_print(_("床上のアイテムが呪文を跳ね返した。", "The object resists the spell."));
                return FALSE;