OSDN Git Service

[Refactor] #37353 型の置換(concptr)。 / Type replacement(concptr).
[hengband/hengband.git] / src / realm-trump.c
index f9c0291..59db0bd 100644 (file)
@@ -15,7 +15,8 @@ concptr do_trump_spell(SPELL_IDX spell, BIT_FLAGS mode)
        bool info = (mode == SPELL_INFO) ? TRUE : FALSE;
        bool cast = (mode == SPELL_CAST) ? TRUE : FALSE;
        bool fail = (mode == SPELL_FAIL) ? TRUE : FALSE;
-       static const char s_random[] = _("ランダム", "random");
+
+       const concptr s_random = _("ランダム", "random");
 
        DIRECTION dir;
        PLAYER_LEVEL plev = p_ptr->lev;