From c5145f025df38143d02b641e9ba3dda433e1dd0c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Dec 2014 23:40:37 +0300 Subject: Fix background paralax issue. --- src/resources/map/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"), -- cgit v1.2.3-70-g09d2