diff options
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r-- | src/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<DoubleRect*> *arr = vert->getRectsSDL(); - std::list<DoubleRect*>::iterator it; + std::vector<DoubleRect*> *arr = vert->getRectsSDL(); + std::vector<DoubleRect*>::iterator it; for (it = arr->begin(); it != arr->end(); ++it) SDL_LowerBlit(img->mSDLSurface, &(*it)->src, mTarget, &(*it)->dst); |