OSDN Git Service

[Refactor] struct player_type を class PlayerType に置換。
[hengbandforosx/hengbandosx.git] / src / mutation / gain-mutation-switcher.cpp
index 54b545c..dc7f95d 100644 (file)
@@ -3,7 +3,7 @@
 #include "mutation/mutation-util.h"
 #include "system/player-type-definition.h"
 
-void switch_gain_mutation(player_type *player_ptr, glm_type *glm_ptr)
+void switch_gain_mutation(PlayerType *player_ptr, glm_type *glm_ptr)
 {
     switch (glm_ptr->choose_mut ? glm_ptr->choose_mut : (player_ptr->pclass == PlayerClassType::BERSERKER ? 74 + randint1(119) : randint1(193))) {
     case 1: