OSDN Git Service

[Refactor] #37353 型の置換。 / Type replacement. (MONRACE_IDX)
authordeskull <deskull@users.sourceforge.jp>
Wed, 20 Mar 2019 14:12:10 +0000 (23:12 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Wed, 20 Mar 2019 14:12:10 +0000 (23:12 +0900)
src/cmd-item.c

index 509c644..6dc6f3e 100644 (file)
@@ -1377,9 +1377,7 @@ void do_cmd_query_symbol(void)
        /* Nothing to recall */
        if (!n)
        {
-               /* Free the "who" array */
-               C_KILL(who, max_r_idx, IDX);
-
+               C_KILL(who, max_r_idx, MONRACE_IDX);
                return;
        }
 
@@ -1405,10 +1403,7 @@ void do_cmd_query_symbol(void)
        /* Catch "escape" */
        if (query != 'y')
        {
-               /* Free the "who" array */
-               /* TODO */
-               C_KILL(who, max_r_idx, IDX);
-
+               C_KILL(who, max_r_idx, MONRACE_IDX);
                return;
        }