Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarParallax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarParallax.cpp')
-rw-r--r--source/game/StarParallax.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarParallax.cpp b/source/game/StarParallax.cpp
index 2670699..d537b2c 100644
--- a/source/game/StarParallax.cpp
+++ b/source/game/StarParallax.cpp
@@ -62,7 +62,7 @@ void ParallaxLayer::addImageDirectives(Directives const& newDirectives) {
if (directives) {
String dirString = directives.string();
- auto& newString = newDirectives.shared->string;
+ auto& newString = newDirectives->string;
if (!newString.empty()) {
if (newString.utf8().front() != '?')
dirString += "?";