game[summons]: check after an uncomplet summon if we need to switch pc.

This commit is contained in:
ALONSO Laurent
2021-11-19 12:59:48 +01:00
committed by Celtic Minstrel
parent 997dd902ed
commit 278b535601

View File

@@ -615,6 +615,10 @@ static void handle_target_space(location destination, bool& did_something, bool&
cast_town_spell(destination);
else if(overall_mode == MODE_FANCY_TARGET) {
place_target(destination);
// unsure why place_target does not check if the current pc has no ap
// so we must call pick_next_pc to avoid casting summon monsters and
// then cast a new spell with no ap
pick_next_pc();
need_reprint = true;
}
if(overall_mode != MODE_FANCY_TARGET) {