diff --git a/src/gui/game/GameController.cpp b/src/gui/game/GameController.cpp index cfcb5e6cf..17660ec5f 100644 --- a/src/gui/game/GameController.cpp +++ b/src/gui/game/GameController.cpp @@ -255,7 +255,7 @@ GameView * GameController::GetView() sign * GameController::GetSignAt(int x, int y){ Simulation * sim = gameModel->GetSimulation(); - for (std::vector::iterator iter = sim->signs.begin(), end = sim->signs.end(); iter != end; ++iter) + for (std::vector::reverse_iterator iter = sim->signs.rbegin(), end = sim->signs.rend(); iter != end; ++iter) { int signx, signy, signw, signh; (*iter).pos((*iter).getText(sim), signx, signy, signw, signh);