OSDN Git Service

[feature] ソースファイルをC++に対応
[hengbandforosx/hengbandosx.git] / src / mspell / mspell-damage-calculator.h
index ebebddc..52f5713 100644 (file)
@@ -3,7 +3,7 @@
 #include "mspell/mspell-type.h"
 #include "system/angband.h"
 
-typedef enum spell_flag_type {
+enum spell_flag_type {
        DAM_ROLL = 1,
     DAM_MAX = 2,
     DAM_MIN = 3,
@@ -12,7 +12,7 @@ typedef enum spell_flag_type {
     DICE_MULT = 6,
     DICE_DIV = 7,
     BASE_DAM = 8,
-} spell_flag_type;
+};
 
 HIT_POINT monspell_damage(player_type* target_ptr, monster_spell_type ms_type, MONSTER_IDX m_idx, int TYPE);
 HIT_POINT monspell_race_damage(player_type* target_ptr, monster_spell_type ms_type, MONRACE_IDX r_idx, int TYPE);