X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=blobdiff_plain;f=src%2Fspells2.c;h=c2ff0ca5a4daf6658fc907b10617e5c75e616ed5;hp=72f04c6b283a531b863bde2682315710274ce5e8;hb=1bc973e09f8817cb729bc248da50c95f8656b4bc;hpb=76936a075e45fe9c304be2ba009c3b31696748f6 diff --git a/src/spells2.c b/src/spells2.c index 72f04c6b2..c2ff0ca5a 100644 --- a/src/spells2.c +++ b/src/spells2.c @@ -74,8 +74,6 @@ static bool detect_feat_flag(POSITION range, int flag, bool known) } } } - - /* Result */ return detect; } @@ -99,8 +97,6 @@ bool detect_traps(POSITION range, bool known) { msg_print(_("トラップの存在を感じとった!", "You sense the presence of traps!")); } - - /* Result */ return detect; } @@ -121,8 +117,6 @@ bool detect_doors(POSITION range) { msg_print(_("ドアの存在を感じとった!", "You sense the presence of doors!")); } - - /* Result */ return detect; } @@ -143,8 +137,6 @@ bool detect_stairs(POSITION range) { msg_print(_("階段の存在を感じとった!", "You sense the presence of stairs!")); } - - /* Result */ return detect; } @@ -165,8 +157,6 @@ bool detect_treasure(POSITION range) { msg_print(_("埋蔵された財宝の存在を感じとった!", "You sense the presence of buried treasure!")); } - - /* Result */ return detect; } @@ -205,7 +195,6 @@ bool detect_objects_gold(POSITION range) /* Detect "gold" objects */ if (o_ptr->tval == TV_GOLD) { - /* Hack -- memorize it */ o_ptr->marked |= OM_FOUND; lite_spot(y, x); detect = TRUE; @@ -224,8 +213,6 @@ bool detect_objects_gold(POSITION range) { detect = TRUE; } - - /* Result */ return (detect); } @@ -264,7 +251,6 @@ bool detect_objects_normal(POSITION range) /* Detect "real" objects */ if (o_ptr->tval != TV_GOLD) { - /* Hack -- memorize it */ o_ptr->marked |= OM_FOUND; lite_spot(y, x); detect = TRUE; @@ -283,8 +269,6 @@ bool detect_objects_normal(POSITION range) { detect = TRUE; } - - /* Result */ return (detect); } @@ -426,8 +410,6 @@ bool detect_monsters_normal(POSITION range) /* Describe result */ msg_print(_("モンスターの存在を感じとった!", "You sense the presence of monsters!")); } - - /* Result */ return (flag); } @@ -489,8 +471,6 @@ bool detect_monsters_invis(POSITION range) /* Describe result */ msg_print(_("透明な生物の存在を感じとった!", "You sense the presence of invisible creatures!")); } - - /* Result */ return (flag); } @@ -555,8 +535,6 @@ bool detect_monsters_evil(POSITION range) /* Describe result */ msg_print(_("邪悪なる生物の存在を感じとった!", "You sense the presence of evil creatures!")); } - - /* Result */ return (flag); } @@ -615,8 +593,6 @@ bool detect_monsters_nonliving(POSITION range) /* Describe result */ msg_print(_("自然でないモンスターの存在を感じた!", "You sense the presence of unnatural beings!")); } - - /* Result */ return (flag); } @@ -675,8 +651,6 @@ bool detect_monsters_mind(POSITION range) /* Describe result */ msg_print(_("殺気を感じとった!", "You sense the presence of someone's mind!")); } - - /* Result */ return (flag); } @@ -739,8 +713,6 @@ bool detect_monsters_string(POSITION range, cptr Match) /* Describe result */ msg_print(_("モンスターの存在を感じとった!", "You sense the presence of monsters!")); } - - /* Result */ return (flag); } @@ -818,8 +790,6 @@ bool detect_monsters_xxx(POSITION range, u32b match_flag) msg_format(_("%sの存在を感じとった!", "You sense the presence of %s!"), desc_monsters); msg_print(NULL); } - - /* Result */ return (flag); } @@ -845,8 +815,6 @@ bool detect_all(POSITION range) if (detect_objects_normal(range)) detect = TRUE; if (detect_monsters_invis(range)) detect = TRUE; if (detect_monsters_normal(range)) detect = TRUE; - - /* Result */ return (detect); } @@ -907,8 +875,6 @@ bool project_hack(EFFECT_ID typ, HIT_POINT dam) /* Jump directly to the target monster */ if (project(0, 0, y, x, dam, typ, flg, -1)) obvious = TRUE; } - - /* Result */ return (obvious); } @@ -1441,8 +1407,6 @@ bool probing(void) chg_virtue(V_KNOWLEDGE, 1); msg_print(_("これで全部です。", "That's all.")); } - - /* Result */ return (probe); }