-fix issue 119
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-10-21 13:53:53 +00:00
parent c1dc258ef0
commit c02f65eda2
+1
View File
@@ -175,6 +175,7 @@ void CardSelector::Update(float dt)
if ((c->x + CardGui::Width / 2 > position - CardGui::BigWidth / 2) &&
(c->x - CardGui::Width / 2 < position + CardGui::BigWidth / 2))
position = CardGui::BigWidth / 2 - 10;
if (position < CardGui::BigWidth / 2) position = CardGui::BigWidth / 2;
bigpos.x = position;
bigpos.Update(dt);
}