From 32014de9008efe051a1a8b05e5e976a4629b34d2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 30 Jun 2011 23:14:59 +0300 Subject: Replace some lists to vectors. --- src/graphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/graphics.cpp') diff --git a/src/graphics.cpp b/src/graphics.cpp index 6f3e5a23d..076f9c8e2 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -439,8 +439,8 @@ void Graphics::drawImagePattern2(GraphicsVertexes *vert, Image *img) { // here not checking input parameters - std::list *arr = vert->getRectsSDL(); - std::list::iterator it; + std::vector *arr = vert->getRectsSDL(); + std::vector::iterator it; for (it = arr->begin(); it != arr->end(); ++it) SDL_LowerBlit(img->mSDLSurface, &(*it)->src, mTarget, &(*it)->dst); -- cgit v1.2.3-60-g2f50