OSDN Git Service

[Refactor] #37353 cmd-mane.h を作成して変数宣言移動。 mane.c を cmd-mane.c に改名。
[hengband/hengband.git] / src / realm-daemon.c
index 0ca0221..4042dc7 100644 (file)
@@ -2,6 +2,8 @@
 #include "angband.h"
 #include "cmd-spell.h"
 #include "spells-summon.h"
+#include "spells-status.h"
+#include "projection.h"
 
 /*!
 * @brief 悪魔領域魔法の各処理を行う
@@ -405,7 +407,7 @@ concptr do_daemon_spell(SPELL_IDX spell, BIT_FLAGS mode)
                        int sides1 = plev * 2;
                        int sides2 = plev * 2;
 
-                       if (info) return format("%sd%d+d%d", s_dam, sides1, sides2);
+                       if (info) return format("%sd%d+d%d", KWD_DAM, sides1, sides2);
 
                        if (cast)
                        {
@@ -487,7 +489,7 @@ concptr do_daemon_spell(SPELL_IDX spell, BIT_FLAGS mode)
                        int power = 20 + plev;
                        POSITION rad = 3 + plev / 20;
 
-                       if (info) return format("%s%d+%d", s_dam, dam / 2, dam / 2);
+                       if (info) return format("%s%d+%d", KWD_DAM, dam / 2, dam / 2);
 
                        if (cast)
                        {