OSDN Git Service

[Refactor] #37353 MAX_NAZGUL_NUM を monster.h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Sat, 8 Jun 2019 11:53:18 +0000 (20:53 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Sat, 8 Jun 2019 11:53:18 +0000 (20:53 +0900)
src/defines.h
src/monster.h

index dfb628c..8f74162 100644 (file)
@@ -40,8 +40,6 @@
 
 /*** Screen Locations ***/
 
-/* Maximum "Nazguls" number */
-#define MAX_NAZGUL_NUM 5
 
 /*
   Language selection macro
index 38c13ac..803c2c9 100644 (file)
@@ -6,6 +6,9 @@ typedef bool(*monsterrace_hook_type)(MONRACE_IDX r_idx);
 extern MONSTER_IDX hack_m_idx;
 extern MONSTER_IDX hack_m_idx_ii;
 
+/* Maximum "Nazguls" number */
+#define MAX_NAZGUL_NUM 5
+
 #define MTIMED_CSLEEP   0 /* Monster is sleeping */
 #define MTIMED_FAST     1 /* Monster is temporarily fast */
 #define MTIMED_SLOW     2 /* Monster is temporarily slow */