fix overlapping of phaseinfo/phase bar
the opponent cards will stack according to handsize
This commit is contained in:
@@ -86,6 +86,9 @@ void GuiHandOpponent::Render()
|
|||||||
(*it)->y = 2;
|
(*it)->y = 2;
|
||||||
(*it)->zoom = 0.3f;
|
(*it)->zoom = 0.3f;
|
||||||
(*it)->Render(quad.get());
|
(*it)->Render(quad.get());
|
||||||
|
if(cards.size() > 12)
|
||||||
|
x += 240/cards.size();
|
||||||
|
else
|
||||||
x += 18;
|
x += 18;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user