OSDN Git Service

Merge branch 'develop' into macos-develop
[hengbandforosx/hengbandosx.git] / src / racial / racial-switcher.cpp
index d363952..b0fbb09 100644 (file)
@@ -1,4 +1,4 @@
-/*!
+/*!
  * @brief レイシャルと突然変異の技能処理 / Racial powers (and mutations)
  * @date 2014/01/08
  * @author
@@ -93,7 +93,7 @@ bool switch_class_racial_execution(PlayerType *player_ptr, const int32_t command
         return sword_dancing(player_ptr);
     case PlayerClassType::HIGH_MAGE:
         if (player_ptr->realm1 == REALM_HEX) {
-            auto retval = SpellHex(player_ptr).stop_spells_with_selection();
+            const auto retval = SpellHex(player_ptr).stop_spells_with_selection();
             if (retval) {
                 PlayerEnergy(player_ptr).set_player_turn_energy(10);
             }