OSDN Git Service

[Refactor] #963 Added argument of update_turn_type to update_player_turn_energy()
[hengbandforosx/hengbandosx.git] / src / floor / wild.cpp
index 57ceca5..b75e3ae 100644 (file)
@@ -895,7 +895,7 @@ bool change_wild_mode(player_type *creature_ptr, bool encount)
         }
     }
 
-    update_player_turn_energy(creature_ptr, 1000);
+    update_player_turn_energy(creature_ptr, 1000, update_turn_type::ENERGY_SUBSTITUTION);
     creature_ptr->oldpx = creature_ptr->x;
     creature_ptr->oldpy = creature_ptr->y;
     if (hex_spelling_any(creature_ptr))