OSDN Git Service

[Refactor] #38997 ident_spell() に player_type * 引数を追加. / Add player_type * argument...
[hengband/hengband.git] / src / cmd / cmd-zaprod.c
index c22c5ee..936a964 100644 (file)
@@ -57,7 +57,7 @@ int rod_effect(player_type *creature_ptr, OBJECT_SUBTYPE_VALUE sval, DIRECTION d
                        if (!identify_fully(FALSE)) *use_charge = FALSE;
                }
                else {
-                       if (!ident_spell(FALSE)) *use_charge = FALSE;
+                       if (!ident_spell(creature_ptr, FALSE)) *use_charge = FALSE;
                }
                ident = TRUE;
                break;