adjust enstack attackers

so we have small room for the phase wheel for touch enabled device
This commit is contained in:
Anthony Calosa
2017-02-07 17:00:37 +08:00
parent ef31192f33
commit 75e372ac9b

View File

@@ -124,7 +124,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-4 + baseX;
card->x = x + (CARD_WIDTH/2.5f) + baseX;
if (attackers+1 < 8)
x += CARD_WIDTH;
else if (attackers+1 < 24)