diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-14 23:40:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-14 23:40:37 +0300 |
commit | c5145f025df38143d02b641e9ba3dda433e1dd0c (patch) | |
tree | 1d76f944c98f4fdaa33069408bbce1c33689f84e /src/resources | |
parent | 29155242c39c24c1f7d7d5dabc7d076693af4cb8 (diff) | |
download | manaverse-c5145f025df38143d02b641e9ba3dda433e1dd0c.tar.gz manaverse-c5145f025df38143d02b641e9ba3dda433e1dd0c.tar.bz2 manaverse-c5145f025df38143d02b641e9ba3dda433e1dd0c.tar.xz manaverse-c5145f025df38143d02b641e9ba3dda433e1dd0c.zip |
Fix background paralax issue.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/map/map.cpp | 2 |
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"), |