From 50c85a44a9b566fc236178c0fddf8b3866db9b90 Mon Sep 17 00:00:00 2001 From: Hourier Date: Tue, 19 May 2020 00:42:38 +0900 Subject: [PATCH] [Fix] #40422 Changed feat_wall_inner to feat_wall_solid in place_bold() --- src/grid/grid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/grid/grid.c b/src/grid/grid.c index 4aba00ca0..60f081b44 100644 --- a/src/grid/grid.c +++ b/src/grid/grid.c @@ -1360,8 +1360,8 @@ void place_bold(player_type *player_ptr, POSITION y, POSITION x, grid_bold_type } case GB_OUTER_NOPERM: { - feature_type *_f_ptr = &f_info[feat_wall_outer]; - if (permanent_wall(_f_ptr)) set_cave_feat(floor_ptr, y, x, (s16b)feat_state(player_ptr, feat_wall_outer, FF_UNPERM)); + feature_type *f_ptr = &f_info[feat_wall_outer]; + if (permanent_wall(f_ptr)) set_cave_feat(floor_ptr, y, x, (s16b)feat_state(player_ptr, feat_wall_outer, FF_UNPERM)); else set_cave_feat(floor_ptr, y, x, feat_wall_outer); floor_ptr->grid_array[y][x].info &= ~(CAVE_MASK); add_cave_info(floor_ptr, y, x, (CAVE_OUTER | CAVE_VAULT)); @@ -1369,7 +1369,7 @@ void place_bold(player_type *player_ptr, POSITION y, POSITION x, grid_bold_type } case GB_SOLID: { - set_cave_feat(floor_ptr, y, x, feat_wall_inner); + set_cave_feat(floor_ptr, y, x, feat_wall_solid); floor_ptr->grid_array[y][x].info &= ~(CAVE_MASK); add_cave_info(floor_ptr, y, x, CAVE_SOLID); break; -- 2.11.0