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:
2fa1cd8
)
[Refactor] #37353 型の置換。 / Type replacement.
author
Deskull
<deskull@users.sourceforge.jp>
Wed, 30 Jan 2019 14:13:15 +0000
(23:13 +0900)
committer
Deskull
<deskull@users.sourceforge.jp>
Wed, 30 Jan 2019 14:13:15 +0000
(23:13 +0900)
src/monster2.c
patch
|
blob
|
history
diff --git
a/src/monster2.c
b/src/monster2.c
index
9394651
..
05ba07b
100644
(file)
--- a/
src/monster2.c
+++ b/
src/monster2.c
@@
-3333,11
+3333,11
@@
static bool place_monster_one(MONSTER_IDX who, POSITION y, POSITION x, MONRACE_I
*/
static bool mon_scatter(MONRACE_IDX r_idx, POSITION *yp, POSITION *xp, POSITION y, POSITION x, POSITION max_dist)
{
-
int
place_x[MON_SCAT_MAXD];
-
int
place_y[MON_SCAT_MAXD];
+
POSITION
place_x[MON_SCAT_MAXD];
+
POSITION
place_y[MON_SCAT_MAXD];
int num[MON_SCAT_MAXD];
int i;
-
int
nx, ny;
+
POSITION
nx, ny;
if (max_dist >= MON_SCAT_MAXD)
return FALSE;