OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Refactor] #38993 m_list と max_m_idx を floor_type に取り込む。 / Move m_list and max_m_idx...
[hengband/hengband.git]
/
src
/
init2.c
diff --git
a/src/init2.c
b/src/init2.c
index
2325fba
..
9200b56
100644
(file)
--- a/
src/init2.c
+++ b/
src/init2.c
@@
-1224,12
+1224,12
@@
static errr init_other(void)
C_MAKE(current_floor_ptr->o_list, current_floor_ptr->max_o_idx, object_type);
/* Allocate and Wipe the monster list */
C_MAKE(current_floor_ptr->o_list, current_floor_ptr->max_o_idx, object_type);
/* Allocate and Wipe the monster list */
- C_MAKE(
m_list,
max_m_idx, monster_type);
+ C_MAKE(
current_floor_ptr->m_list, current_floor_ptr->
max_m_idx, monster_type);
/* Allocate and Wipe the monster process list */
for (i = 0; i < MAX_MTIMED; i++)
{
/* Allocate and Wipe the monster process list */
for (i = 0; i < MAX_MTIMED; i++)
{
- C_MAKE(mproc_list[i], max_m_idx, s16b);
+ C_MAKE(mproc_list[i],
current_floor_ptr->
max_m_idx, s16b);
}
/* Allocate and Wipe the max dungeon level */
}
/* Allocate and Wipe the max dungeon level */