diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-24 23:38:27 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-24 23:38:27 +1000 |
commit | 2bd399fd00d87683e37b41bfc1a25772c6cde71f (patch) | |
tree | c720c2c428e17c408fb25b97e23b9fe4b9f2cd06 /source/game/StarDrawable.cpp | |
parent | 7eb010d4a1c6a90d5040b3ec2e7d189fb387b9b2 (diff) |
Armor optimizations
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) { |