• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision86e15ff0a63a5d8b0b3cca5d9b91d9578d2c65c0 (tree)
Time2019-07-01 00:15:56
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #38997 mutation.c 内の player_type * 型への参照整理.

Change Summary

Incremental Difference

--- a/src/mutation.c
+++ b/src/mutation.c
@@ -867,7 +867,7 @@ bool gain_mutation(player_type *creature_ptr, MUTATION_IDX choose_mut)
867867 }
868868 }
869869
870- p_ptr->mutant_regenerate_mod = calc_mutant_regenerate_mod(p_ptr);
870+ creature_ptr->mutant_regenerate_mod = calc_mutant_regenerate_mod(creature_ptr);
871871 creature_ptr->update |= PU_BONUS;
872872 handle_stuff();
873873 return TRUE;
@@ -1510,7 +1510,7 @@ void lose_all_mutations(player_type *creature_ptr)
15101510 creature_ptr->muta1 = creature_ptr->muta2 = creature_ptr->muta3 = 0;
15111511 creature_ptr->update |= PU_BONUS;
15121512 handle_stuff();
1513- creature_ptr->mutant_regenerate_mod = calc_mutant_regenerate_mod(p_ptr);
1513+ creature_ptr->mutant_regenerate_mod = calc_mutant_regenerate_mod(creature_ptr);
15141514 }
15151515 }
15161516
Show on old repository browser