OSDN Git Service

[Refactor] #37353 型の置換。 / Type replacement.
authorDeskull <deskull@users.sourceforge.jp>
Sat, 22 Dec 2018 23:18:41 +0000 (08:18 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Sat, 22 Dec 2018 23:18:41 +0000 (08:18 +0900)
src/cmd2.c

index e697d12..dd1acac 100644 (file)
@@ -1772,12 +1772,10 @@ void do_cmd_bash(void)
  */
 void do_cmd_alter(void)
 {
-       int                     y, x, dir;
-
-       cave_type       *c_ptr;
-
-       bool            more = FALSE;
-
+       POSITION y, x;
+       DIRECTION dir;
+       cave_type *c_ptr;
+       bool more = FALSE;
 
        if (p_ptr->special_defense & KATA_MUSOU)
        {
@@ -1815,10 +1813,8 @@ void do_cmd_alter(void)
 
                p_ptr->energy_use = 100;
 
-               /* Attack monsters */
                if (c_ptr->m_idx)
                {
-                       /* Attack */
                        py_attack(y, x, 0);
                }