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_cnt, m_max を floor_type 構造体に取り込み.
[hengband/hengband.git]
/
src
/
cmd4.c
diff --git
a/src/cmd4.c
b/src/cmd4.c
index
63e4db9
..
436e471
100644
(file)
--- a/
src/cmd4.c
+++ b/
src/cmd4.c
@@
-5714,7
+5714,7
@@
static void do_cmd_knowledge_pets(void)
}
/* Process the monsters (backwards) */
- for (i = m_max - 1; i >= 1; i--)
+ for (i =
current_floor_ptr->
m_max - 1; i >= 1; i--)
{
/* Access the monster */
m_ptr = ¤t_floor_ptr->m_list[i];