/*!
* @brief ロッドの効果を発動する
+ * @param creature_ptr プレーヤーへの参照ポインタ
* @param sval オブジェクトのsval
* @param dir 発動目標の方向ID
* @param use_charge チャージを消費したかどうかを返す参照ポインタ
case SV_ROD_DETECT_DOOR:
{
- if (detect_doors(detect_rad)) ident = TRUE;
- if (detect_stairs(detect_rad)) ident = TRUE;
+ if (detect_doors(creature_ptr, detect_rad)) ident = TRUE;
+ if (detect_stairs(creature_ptr, detect_rad)) ident = TRUE;
break;
}
case SV_ROD_DETECTION:
{
- detect_all(detect_rad);
+ detect_all(creature_ptr, detect_rad);
ident = TRUE;
break;
}