OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fffb08
)
[Fix] ポインタの値ではなくアドレスの方をインクリメントしていたのを修正、Habu氏に感謝 / Fixed the issue that pointer addres...
author
Hourier
<hourier@users.sourceforge.jp>
Wed, 19 Feb 2020 12:44:33 +0000
(21:44 +0900)
committer
Hourier
<hourier@users.sourceforge.jp>
Wed, 19 Feb 2020 12:44:33 +0000
(21:44 +0900)
src/monster-process.c
patch
|
blob
|
history
diff --git
a/src/monster-process.c
b/src/monster-process.c
index
2283f64
..
5594207
100644
(file)
--- a/
src/monster-process.c
+++ b/
src/monster-process.c
@@
-2047,7
+2047,7
@@
bool process_monster_movement(player_type *target_ptr, turn_flags *turn_flags_pt
update_object_by_monster_movement(target_ptr, turn_flags_ptr, m_idx, ny, nx);
if (turn_flags_ptr->do_turn) break;
-
*count
++;
+
(*count)
++;
}
return TRUE;