OSDN Git Service

[Fix] #38997 cave_gen() 内変数参照修正. / Fix variable references in cave_gen().
authordeskull <deskull@users.sourceforge.jp>
Thu, 19 Dec 2019 09:59:55 +0000 (18:59 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Thu, 19 Dec 2019 09:59:55 +0000 (18:59 +0900)
src/floor-generate.c

index 676fe8a..504930c 100644 (file)
@@ -596,7 +596,7 @@ static bool cave_gen(floor_type *floor_ptr)
        dun->laketype = 0;
 
        /* Fill the arrays of floors and walls in the good proportions */
-       set_floor_and_wall(p_ptr->dungeon_idx);
+       set_floor_and_wall(floor_ptr->dungeon_idx);
        get_mon_num_prep(get_monster_hook(), NULL);
 
        /* Randomize the dungeon creation values */