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:
45e5a50
)
[Refactor] #37353 型の置換(next_mirror()) / Type replacement.
author
Deskull
<deskull@users.sourceforge.jp>
Thu, 17 Jan 2019 12:43:53 +0000
(21:43 +0900)
committer
Deskull
<deskull@users.sourceforge.jp>
Thu, 17 Jan 2019 12:43:53 +0000
(21:43 +0900)
src/spells1.c
patch
|
blob
|
history
diff --git
a/src/spells1.c
b/src/spells1.c
index
0404514
..
574df6e
100644
(file)
--- 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;