Minor adjustment
This commit is contained in:
@@ -91,9 +91,9 @@ void GuiPlay::VertStack::Enstack(CardView* card)
|
|||||||
|
|
||||||
card->x = x + baseX;
|
card->x = x + baseX;
|
||||||
card->y = y + baseY;
|
card->y = y + baseY;
|
||||||
y += 8;
|
y += 10;
|
||||||
if (++count == total - 1 && y == 8)
|
if (++count == total - 1 && y == 10)
|
||||||
y += 8;
|
y += 10;
|
||||||
//last value += 12...
|
//last value += 12...
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -133,7 +133,7 @@ void GuiPlay::BattleField::reset(float x, float y)
|
|||||||
void GuiPlay::BattleField::EnstackAttacker(CardView* card)
|
void GuiPlay::BattleField::EnstackAttacker(CardView* card)
|
||||||
{
|
{
|
||||||
//card->x = CARD_WIDTH + 20 + (currentAttacker * (HORZWIDTH) / (attackers+1));
|
//card->x = CARD_WIDTH + 20 + (currentAttacker * (HORZWIDTH) / (attackers+1));
|
||||||
card->x = x-12 + baseX;
|
card->x = x-6 + baseX;
|
||||||
if (attackers+1 < 8)
|
if (attackers+1 < 8)
|
||||||
x += CARD_WIDTH;
|
x += CARD_WIDTH;
|
||||||
else if (attackers+1 < 24)
|
else if (attackers+1 < 24)
|
||||||
|
|||||||
Reference in New Issue
Block a user