From: Deskull Date: Thu, 17 Jan 2019 12:43:53 +0000 (+0900) Subject: [Refactor] #37353 型の置換(next_mirror()) / Type replacement. X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=26f04847db352f5d29d9b7eea775b51c5e776757 [Refactor] #37353 型の置換(next_mirror()) / Type replacement. --- diff --git a/src/spells1.c b/src/spells1.c index 04045144d..574df6e5e 100644 --- a/src/spells1.c +++ b/src/spells1.c @@ -119,9 +119,9 @@ PERCENTAGE beam_chance(void) * @param cury 現在の鏡のy座標 * @param curx 現在の鏡のx座標 */ -static void next_mirror(int* next_y, int* next_x, int cury, int curx) +static void next_mirror(POSITION* next_y, POSITION* next_x, POSITION cury, POSITION curx) { - int mirror_x[10], mirror_y[10]; /* 鏡はもっと少ない */ + POSITION mirror_x[10], mirror_y[10]; /* 鏡はもっと少ない */ int mirror_num = 0; /* 鏡の数 */ POSITION x, y; int num;