diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-30 23:14:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-01 02:08:53 +0300 |
commit | 32014de9008efe051a1a8b05e5e976a4629b34d2 (patch) | |
tree | 694b93739685b8b8462c7f602b8ae693be5e65bf /src/graphics.cpp | |
parent | 5c260f683e26529d7cf02c12c1fff70a7a7e5eb8 (diff) | |
download | ManaVerse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.gz ManaVerse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.bz2 ManaVerse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.xz ManaVerse-32014de9008efe051a1a8b05e5e976a4629b34d2.zip |
Replace some lists to vectors.
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); |