From: Deskull Date: Wed, 30 Jan 2019 14:13:15 +0000 (+0900) Subject: [Refactor] #37353 型の置換。 / Type replacement. X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=d7fb2af6910b224981d8e1c14edf508ef17c14d0 [Refactor] #37353 型の置換。 / Type replacement. --- diff --git a/src/monster2.c b/src/monster2.c index 93946518a..05ba07b76 100644 --- 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;