OSDN Git Service

[Refactor] #37353 dir の型の置換。 / Type replacement dir.
authorDeskull <deskull@users.sourceforge.jp>
Wed, 20 Feb 2019 13:59:52 +0000 (22:59 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Wed, 20 Feb 2019 13:59:52 +0000 (22:59 +0900)
src/mind.c
src/rooms-special.c

index a9c5e87..81eb764 100644 (file)
@@ -1014,7 +1014,7 @@ static bool_hack get_mind_power(SPELL_IDX *sn, bool only_browse)
 static bool cast_mindcrafter_spell(int spell)
 {
        int             b = 0;
-       int             dir;
+       DIRECTION dir;
        TIME_EFFECT t;
        PLAYER_LEVEL plev = p_ptr->lev;
 
@@ -1300,7 +1300,7 @@ static int number_of_mirrors(void)
  */
 static bool cast_mirror_spell(int spell)
 {
-       int             dir;
+       DIRECTION dir;
        PLAYER_LEVEL plev = p_ptr->lev;
        int             tmp;
        TIME_EFFECT t;
index dec2e96..5c65510 100644 (file)
@@ -72,7 +72,7 @@ bool build_type15(void)
        {
        case 1: /* 4 lite breathers + potion */
        {
-               int dir1, dir2;
+               DIRECTION dir1, dir2;
                get_mon_num_prep(vault_aux_lite, NULL);
 
                /* Place fixed lite berathers */