summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-17 20:23:57 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-17 20:23:57 +0300
commit3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41 (patch)
treebb1a7119235d95c4af0930e20cea31f4d9074307 /src/map.h
parent6afba95ef62b22c303336adba6d891eeffe66c49 (diff)
downloadmanaplus-3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41.tar.gz
manaplus-3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41.tar.bz2
manaplus-3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41.tar.xz
manaplus-3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41.zip
Reserve some memory for image vectors.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index 749c77ce5..1df4a6d9d 100644
--- a/src/map.h
+++ b/src/map.h
@@ -60,7 +60,9 @@ class MapRowVertexes
{
public:
MapRowVertexes()
- { }
+ {
+ images.reserve(30);
+ }
~MapRowVertexes();