X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=blobdiff_plain;f=src%2Frooms.c;h=2a4391e82b9155c8c56dfebe09f979b7152da82b;hp=5135bfa4f32c34f360d2c43d1587a5692d09284d;hb=a89bf32eb87531922c74fd931a5f1f47479c54d8;hpb=c3212b6f948846f9e65aff09e626fc679ea3919f diff --git a/src/rooms.c b/src/rooms.c index 5135bfa4f..2a4391e82 100644 --- a/src/rooms.c +++ b/src/rooms.c @@ -968,9 +968,9 @@ bool generate_fracave(POSITION y0, POSITION x0, POSITION xsize, POSITION ysize, fill_data.c3 = 0; /* features to fill with */ - fill_data.feat1 = floor_type[randint0(100)]; - fill_data.feat2 = floor_type[randint0(100)]; - fill_data.feat3 = floor_type[randint0(100)]; + fill_data.feat1 = feat_ground_type[randint0(100)]; + fill_data.feat2 = feat_ground_type[randint0(100)]; + fill_data.feat3 = feat_ground_type[randint0(100)]; fill_data.info1 = CAVE_FLOOR; fill_data.info2 = CAVE_FLOOR; @@ -1189,21 +1189,21 @@ bool generate_lake(POSITION y0, POSITION x0, POSITION xsize, POSITION ysize, int case LAKE_T_LAVA: /* Lava */ feat1 = feat_deep_lava; feat2 = feat_shallow_lava; - feat3 = floor_type[randint0(100)]; + feat3 = feat_ground_type[randint0(100)]; break; case LAKE_T_WATER: /* Water */ feat1 = feat_deep_water; feat2 = feat_shallow_water; - feat3 = floor_type[randint0(100)]; + feat3 = feat_ground_type[randint0(100)]; break; case LAKE_T_CAVE: /* Collapsed cave */ - feat1 = floor_type[randint0(100)]; - feat2 = floor_type[randint0(100)]; + feat1 = feat_ground_type[randint0(100)]; + feat2 = feat_ground_type[randint0(100)]; feat3 = feat_rubble; break; case LAKE_T_EARTH_VAULT: /* Earth vault */ feat1 = feat_rubble; - feat2 = floor_type[randint0(100)]; + feat2 = feat_ground_type[randint0(100)]; feat3 = feat_rubble; break; case LAKE_T_AIR_VAULT: /* Air vault */