- fix armadillo cloak test + fix damage assignation step. A side effect is that when clicking on "Go", the game goes to the Damage step instead of going to the combat step. I believe this is acceptable but let me know if this feels weird when playing
- daily build
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-09-25 13:38:08 +00:00
parent 74c9a00f8e
commit eabb99c675
5 changed files with 12 additions and 5 deletions

View File

@@ -81,8 +81,8 @@ void GuiCombat::validateDamage()
{
switch (step)
{
case FIRST_STRIKE : resolve(); go->nextCombatStep(); break;
case DAMAGE : resolve(); go->nextGamePhase(); break;
case FIRST_STRIKE : go->nextCombatStep(); break;
case DAMAGE : go->nextGamePhase(); break;
default: cout << "COMBAT : Cannot validate damage in this phase" << endl; break;
}
}
@@ -121,6 +121,7 @@ void GuiCombat::removeOne(DefenserDamaged* blocker, CombatStep step)
}
bool GuiCombat::clickOK(){
cursor_pos = NONE;
switch (step)
{
case BLOCKERS : assert(false); return false; // that should not happen