OSDN Git Service

[Refactor] #38997 wiz_lite() に player_type * 引数を追加. / Add player_type * argument...
[hengband/hengband.git] / src / wizard2.c
index b4380ac..f146b8b 100644 (file)
@@ -1881,7 +1881,7 @@ void do_cmd_debug(void)
                                current_floor_ptr->grid_array[y][x].info |= (CAVE_GLOW | CAVE_MARK);
                        }
                }
-               wiz_lite(FALSE);
+               wiz_lite(p_ptr, FALSE);
                break;
 
        /* Summon Random Monster(s) */
@@ -1915,7 +1915,7 @@ void do_cmd_debug(void)
 
        /* Wizard Light the Level */
        case 'w':
-               wiz_lite((bool)(p_ptr->pclass == CLASS_NINJA));
+               wiz_lite(p_ptr, (bool)(p_ptr->pclass == CLASS_NINJA));
                break;
 
        /* Increase Experience */