diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-25 13:48:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-25 13:48:24 +0300 |
commit | 6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (patch) | |
tree | df4a3e32b8ad9e77d894280966a0066f4aef0a94 /src/map.cpp | |
parent | 9a970ba6bc80938b56f3ba731bf4614b40ba573d (diff) | |
download | ManaVerse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.gz ManaVerse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.bz2 ManaVerse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.xz ManaVerse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.zip |
improve a bit strings declaration.
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 07d28b164..026774138 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -295,7 +295,7 @@ void Map::initializeAmbientLayers() for (int i = 0; hasProperty(std::string("background").append( toString(i)).append("image")); i ++) { - const std::string name = "background" + toString(i); + const std::string name("background" + toString(i)); Image *const img = resman->getImage(getProperty(name + "image")); if (img) |