OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Refactor] Grid::has_monster()の定義
[hengbandforosx/hengbandosx.git]
/
src
/
monster-floor
/
monster-move.cpp
diff --git
a/src/monster-floor/monster-move.cpp
b/src/monster-floor/monster-move.cpp
index
be9a8b1
..
c486fed
100644
(file)
--- a/
src/monster-floor/monster-move.cpp
+++ b/
src/monster-floor/monster-move.cpp
@@
-66,7
+66,7
@@
static bool process_wall(PlayerType *player_ptr, turn_flags *turn_flags_ptr, con
return true;
}
- if (grid.
m_idx > 0
) {
+ if (grid.
has_monster()
) {
turn_flags_ptr->do_move = true;
return true;
}