OSDN Git Service

[Refactor] #define ALLOW_REPEAT による分岐処理削除 / Delete #define branch by ALLOW_REPEAT.
[hengband/hengband.git] / src / realm-hex.c
index 9074799..7b157c3 100644 (file)
@@ -19,6 +19,7 @@
 #include "cmd-spell.h"
 #include "cmd-quaff.h"
 #include "object-hook.h"
+#include "object-curse.h"
 
 #define MAX_KEEP 4 /*!<呪術の最大詠唱数 */
 
@@ -58,8 +59,8 @@ bool stop_hex_spell(void)
        char choice;
        char out_val[160];
        bool flag = FALSE;
-       TERM_POSITION y = 1;
-       TERM_POSITION x = 20;
+       TERM_LEN y = 1;
+       TERM_LEN x = 20;
        int sp[MAX_KEEP];
 
        if (!hex_spelling_any())
@@ -211,7 +212,6 @@ void check_hex(void)
                        /* Update monsters */
                        p_ptr->update |= (PU_MONSTERS);
 
-                       /* Window stuff */
                        p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
                }
        }