summaryrefslogtreecommitdiff
path: root/src/resources/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-14 23:40:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-14 23:40:37 +0300
commitc5145f025df38143d02b641e9ba3dda433e1dd0c (patch)
tree1d76f944c98f4fdaa33069408bbce1c33689f84e /src/resources/map
parent29155242c39c24c1f7d7d5dabc7d076693af4cb8 (diff)
downloadplus-c5145f025df38143d02b641e9ba3dda433e1dd0c.tar.gz
plus-c5145f025df38143d02b641e9ba3dda433e1dd0c.tar.bz2
plus-c5145f025df38143d02b641e9ba3dda433e1dd0c.tar.xz
plus-c5145f025df38143d02b641e9ba3dda433e1dd0c.zip
Fix background paralax issue.
Diffstat (limited to 'src/resources/map')
-rw-r--r--src/resources/map/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp
index 694c6f934..123ba61ac 100644
--- a/src/resources/map/map.cpp
+++ b/src/resources/map/map.cpp
@@ -263,7 +263,7 @@ void Map::initializeAmbientLayers()
mask = 1;
const float parallax = getFloatProperty(name + "parallax");
- mForegrounds.push_back(new AmbientLayer(img,
+ mBackgrounds.push_back(new AmbientLayer(img,
getFloatProperty(name + "parallaxX", parallax),
getFloatProperty(name + "parallaxY", parallax),
getFloatProperty(name + "posX"),