End Round will lockup if all combatant are dead

Project:Virtual Combat Cards Project
Version:1.3.0
Component:Code
Category:bug report
Priority:normal
Assigned:Nebulorum
Status:closed
Description

Because of the auto-start of dead combatant, if all active combatant (not in reserve) are dead ending the round of the first one will cause VCC to enter into an infinite loop.

For the time being avoid entering in this condition. The correct solution will be linked to task #62: Tighter control of Rest, Start Combat and End Combat. The idea is to end the combat if all the combatant are dead.

#1

Status:active» postponed

This can be fixed once #62: Tighter control of Rest, Start Combat and End Combat is done.

#2

Version:0.92.3» 1.4-dev
Assigned to:Anonymous» Nebulorum

Will try to handle this in the next release.

#3

Status:postponed» active

#4

Status:active» patch (code needs review)

New tracker logic will end combat if all combatants taking turn are dead. This will eliminate the problem of the infinitely advancing dead combatants.

#5

Version:1.4-dev» 1.3.0
Status:patch (code needs review)» fixed

Fixed on version 1.3.0. If all acting combatants are dead VCC will end the combat. Undo is still applicable.

#6

Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.