diff options
Diffstat (limited to 'source/game/StarDrawable.cpp')
-rw-r--r-- | source/game/StarDrawable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarDrawable.cpp b/source/game/StarDrawable.cpp index 0aea570..e259aa2 100644 --- a/source/game/StarDrawable.cpp +++ b/source/game/StarDrawable.cpp @@ -10,7 +10,7 @@ namespace Star { Drawable::ImagePart& Drawable::ImagePart::addDirectives(Directives const& directives, bool keepImageCenterPosition) { - if (directives.entries->empty()) + if (!directives.entries || directives.entries->empty()) return *this; if (keepImageCenterPosition) { |