OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfee51a
)
[Fix] #38997 floor_type への dungeon_idx 代入タイミングを変更. / Change assignment timing of...
author
deskull
<deskull@users.sourceforge.jp>
Sun, 26 Jan 2020 13:05:13 +0000
(22:05 +0900)
committer
deskull
<deskull@users.sourceforge.jp>
Sun, 26 Jan 2020 13:05:13 +0000
(22:05 +0900)
src/floor-generate.c
patch
|
blob
|
history
diff --git
a/src/floor-generate.c
b/src/floor-generate.c
index
e8aedf6
..
e8ed74f
100644
(file)
--- a/
src/floor-generate.c
+++ b/
src/floor-generate.c
@@
-1364,7
+1364,6
@@
static bool level_gen(player_type *player_ptr, concptr *why)
panel_col_min = floor_ptr->width;
}
- floor_ptr->dungeon_idx = d_idx;
if (!cave_gen(player_ptr, why))
{
return FALSE;
@@
-1469,9
+1468,9
@@
void clear_cave(player_type *player_ptr)
void generate_floor(player_type *player_ptr)
{
int num;
-
/* Fill the arrays of floors and walls in the good proportions */
floor_type *floor_ptr = player_ptr->current_floor_ptr;
+ floor_ptr->dungeon_idx = player_ptr->dungeon_idx;
set_floor_and_wall(floor_ptr->dungeon_idx);
/* Generate */