Automatically select entire party if the active PC can no longer act

(Adapted from Windows code)
This commit is contained in:
2014-12-10 20:21:15 -05:00
parent 5c3f0a02db
commit 852a99876b

View File

@@ -1631,6 +1631,11 @@ bool combat_next_step()
while (pick_next_pc() == true) { while (pick_next_pc() == true) {
combat_run_monst(); combat_run_monst();
set_pc_moves(); 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; to_return = true;
// Safety valve // Safety valve
if (party_toast() == true) if (party_toast() == true)