OSDN Git Service

[Refactor] #37353 コメント整理。 / Refactor comments.
[hengband/hengband.git] / src / cmd-read.c
index 025b506..a41163a 100644 (file)
@@ -8,14 +8,16 @@
 \r
 #include "angband.h"\r
 #include "object-hook.h"\r
-#include "spells-summon.h"\r
 #include "artifact.h"\r
 #include "avatar.h"\r
 #include "player-status.h"\r
-#include "spells-status.h"\r
 #include "rumor.h"\r
 #include "realm-hex.h"\r
 \r
+#include "spells-object.h"\r
+#include "spells-summon.h"\r
+#include "spells-status.h"\r
+\r
 /*!\r
  * @brief 巻物を読むコマンドのサブルーチン\r
  * Read a scroll (from the pack or floor).\r
@@ -47,7 +49,7 @@ void do_cmd_read_scroll_aux(INVENTORY_IDX item, bool known)
                o_ptr = &o_list[0 - item];\r
        }\r
 \r
-       p_ptr->energy_use = 100;\r
+       take_turn(p_ptr, 100);;\r
        if (cmd_limit_time_walk(p_ptr)) return;\r
 \r
        if (p_ptr->pclass == CLASS_BERSERKER)\r