X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fcmd-item%2Fcmd-zaprod.c;h=35c8b5b1aff09a4c91af6dbc931dcd5da098c21c;hb=4c52796ea9be62e3ae97bc072654a040f22f52ab;hp=d137c8180d3577257d53f657962314f8247cf304;hpb=ca6f963b2d15eaecf440d0b220e25b7b548c3781;p=hengbandforosx%2Fhengbandosx.git diff --git a/src/cmd-item/cmd-zaprod.c b/src/cmd-item/cmd-zaprod.c index d137c8180..35c8b5b1a 100644 --- a/src/cmd-item/cmd-zaprod.c +++ b/src/cmd-item/cmd-zaprod.c @@ -78,10 +78,10 @@ int rod_effect(player_type *creature_ptr, OBJECT_SUBTYPE_VALUE sval, DIRECTION d case SV_ROD_IDENTIFY: { if (powerful) { - if (!identify_fully(creature_ptr, FALSE, 0)) + if (!identify_fully(creature_ptr, FALSE, TV_NONE)) *use_charge = FALSE; } else { - if (!ident_spell(creature_ptr, FALSE, 0)) + if (!ident_spell(creature_ptr, FALSE, TV_NONE)) *use_charge = FALSE; } ident = TRUE;