summaryrefslogtreecommitdiff
path: root/src/beingequipbackend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/beingequipbackend.cpp')
-rw-r--r--src/beingequipbackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/beingequipbackend.cpp b/src/beingequipbackend.cpp
index aa89c1773..afe73342e 100644
--- a/src/beingequipbackend.cpp
+++ b/src/beingequipbackend.cpp
@@ -35,7 +35,7 @@ BeingEquipBackend::BeingEquipBackend(Being *const being) :
mEquipment()
{
memset(mEquipment, 0, sizeof(mEquipment));
- if (being)
+ if (being != nullptr)
{
const size_t sz = being->mSprites.size();