… | |
… | |
932 | LOG (llevError, "Could not find anything to attack on %s\n", &op->name); |
932 | LOG (llevError, "Could not find anything to attack on %s\n", &op->name); |
933 | return 0; |
933 | return 0; |
934 | } |
934 | } |
935 | } |
935 | } |
936 | |
936 | |
937 | op->set_weapon (pl->combat_ob); |
937 | if (!op->change_weapon (pl->combat_ob)) |
|
|
938 | return 0; |
938 | |
939 | |
939 | /* lose invisiblity/hiding status for running attacks */ |
940 | /* lose invisiblity/hiding status for running attacks */ |
940 | if (pl->tmp_invis) |
941 | if (pl->tmp_invis) |
941 | { |
942 | { |
942 | pl->tmp_invis = 0; |
943 | pl->tmp_invis = 0; |