From 852a99876b416bbffbf2dffd3f65e96e9850a21a Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Wed, 10 Dec 2014 20:21:15 -0500 Subject: [PATCH] Automatically select entire party if the active PC can no longer act (Adapted from Windows code) --- osx/boe.combat.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osx/boe.combat.cpp b/osx/boe.combat.cpp index 4a827606..1faadb70 100644 --- a/osx/boe.combat.cpp +++ b/osx/boe.combat.cpp @@ -1631,6 +1631,11 @@ bool combat_next_step() while (pick_next_pc() == true) { combat_run_monst(); set_pc_moves(); + if((combat_active_pc < 6) && (univ.party[combat_active_pc].ap == 0)){ + combat_active_pc = 6; + ASB("The active character is unable to act!"); + ASB("The whole party is now active."); + } to_return = true; // Safety valve if (party_toast() == true)