• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision8c789518f3a5769eefe2c55183bc6597908c2d2b (tree)
Time2019-02-20 22:59:52
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37353 dir の型の置換。 / Type replacement dir.

Change Summary

Incremental Difference

--- a/src/mind.c
+++ b/src/mind.c
@@ -1014,7 +1014,7 @@ static bool_hack get_mind_power(SPELL_IDX *sn, bool only_browse)
10141014 static bool cast_mindcrafter_spell(int spell)
10151015 {
10161016 int b = 0;
1017- int dir;
1017+ DIRECTION dir;
10181018 TIME_EFFECT t;
10191019 PLAYER_LEVEL plev = p_ptr->lev;
10201020
@@ -1300,7 +1300,7 @@ static int number_of_mirrors(void)
13001300 */
13011301 static bool cast_mirror_spell(int spell)
13021302 {
1303- int dir;
1303+ DIRECTION dir;
13041304 PLAYER_LEVEL plev = p_ptr->lev;
13051305 int tmp;
13061306 TIME_EFFECT t;
--- a/src/rooms-special.c
+++ b/src/rooms-special.c
@@ -72,7 +72,7 @@ bool build_type15(void)
7272 {
7373 case 1: /* 4 lite breathers + potion */
7474 {
75- int dir1, dir2;
75+ DIRECTION dir1, dir2;
7676 get_mon_num_prep(vault_aux_lite, NULL);
7777
7878 /* Place fixed lite berathers */
Show on old repository browser