diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-12 15:11:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-12 15:11:23 +0300 |
commit | a3afea015883068d24f9b6ad0db876131dcc7de7 (patch) | |
tree | 530644403f90da618cebae52c291abb7d6286317 /src/map.cpp | |
parent | 6b4f279e4a8b61fbaf7dd6a57ad6e9b148158d87 (diff) | |
download | manaplus-a3afea015883068d24f9b6ad0db876131dcc7de7.tar.gz manaplus-a3afea015883068d24f9b6ad0db876131dcc7de7.tar.bz2 manaplus-a3afea015883068d24f9b6ad0db876131dcc7de7.tar.xz manaplus-a3afea015883068d24f9b6ad0db876131dcc7de7.zip |
Fix iterator issue in some versions.
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index 94d1a318e..6e978d5dc 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1739,7 +1739,7 @@ void Map::reduce() if (!correct || !dontHaveAlpha) continue; - Layers::const_reverse_iterator ri = mLayers.rbegin(); + Layers::reverse_iterator ri = mLayers.rbegin(); while (ri != mLayers.rend()) { MapLayer *layer = *ri; |