OSDN Git Service

[Refactor] #37353 型の置換。 / Type replacement.
authorDeskull <deskull@users.sourceforge.jp>
Wed, 26 Dec 2018 14:39:47 +0000 (23:39 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Wed, 26 Dec 2018 14:39:47 +0000 (23:39 +0900)
src/monster-process.c

index c418ab6..7541332 100644 (file)
@@ -1430,8 +1430,8 @@ static bool monst_attack_monst(MONSTER_IDX m_idx, MONSTER_IDX t_idx)
        char            temp[MAX_NLEN];
        bool            blinked;
        bool            explode = FALSE, touched = FALSE, fear = FALSE, dead = FALSE;
-       int             y_saver = t_ptr->fy;
-       int             x_saver = t_ptr->fx;
+       POSITION y_saver = t_ptr->fy;
+       POSITION x_saver = t_ptr->fx;
        int             effect_type;
 
        bool see_m = is_seen(m_ptr);