From 81a45553d6de18d0f0093f804ede88d924358ec2 Mon Sep 17 00:00:00 2001 From: "wagic.the.homebrew@gmail.com" Date: Sun, 4 Oct 2009 09:32:41 +0000 Subject: [PATCH] Erwan -fix for issue 71, J please review. --- projects/mtg/src/GuiHand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/GuiHand.cpp b/projects/mtg/src/GuiHand.cpp index fab31cc48..c75a6836c 100644 --- a/projects/mtg/src/GuiHand.cpp +++ b/projects/mtg/src/GuiHand.cpp @@ -108,7 +108,7 @@ void GuiHandSelf::Repos() if (OptionHandDirection::HORIZONTAL == options[Options::HANDDIRECTION].number) { y = SCREEN_WIDTH - 30; - for (vector::iterator it = cards.begin(); it != cards.end(); ++it) + for (vector::reverse_iterator it = cards.rbegin(); it != cards.rend(); ++it) { (*it)->x = y; (*it)->y = SCREEN_HEIGHT - 30;