From: Deskull Date: Wed, 20 Feb 2019 13:59:52 +0000 (+0900) Subject: [Refactor] #37353 dir の型の置換。 / Type replacement dir. X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=8c789518f3a5769eefe2c55183bc6597908c2d2b [Refactor] #37353 dir の型の置換。 / Type replacement dir. --- diff --git a/src/mind.c b/src/mind.c index a9c5e87bf..81eb764c3 100644 --- a/src/mind.c +++ b/src/mind.c @@ -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; diff --git a/src/rooms-special.c b/src/rooms-special.c index dec2e9626..5c655105f 100644 --- a/src/rooms-special.c +++ b/src/rooms-special.c @@ -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 */