Minor adjustment

This commit is contained in:
Anthony Calosa
2016-08-07 14:08:09 +08:00
parent 01da4c6af5
commit 6982030013

View File

@@ -91,9 +91,9 @@ void GuiPlay::VertStack::Enstack(CardView* card)
card->x = x + baseX;
card->y = y + baseY;
y += 8;
if (++count == total - 1 && y == 8)
y += 8;
y += 10;
if (++count == total - 1 && y == 10)
y += 10;
//last value += 12...
}
@@ -133,7 +133,7 @@ void GuiPlay::BattleField::reset(float x, float y)
void GuiPlay::BattleField::EnstackAttacker(CardView* card)
{
//card->x = CARD_WIDTH + 20 + (currentAttacker * (HORZWIDTH) / (attackers+1));
card->x = x-12 + baseX;
card->x = x-6 + baseX;
if (attackers+1 < 8)
x += CARD_WIDTH;
else if (attackers+1 < 24)