summaryrefslogtreecommitdiff
path: root/src/net/ea/equipbackend.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/equipbackend.h')
-rw-r--r--src/net/ea/equipbackend.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/ea/equipbackend.h b/src/net/ea/equipbackend.h
index 49d2b0377..15aeb93fb 100644
--- a/src/net/ea/equipbackend.h
+++ b/src/net/ea/equipbackend.h
@@ -53,8 +53,7 @@ class EquipBackend final : public Equipment::Backend
const Inventory *const inv = PlayerInfo::getInventory();
if (inv != nullptr)
return inv->getItem(invyIndex);
- else
- return nullptr;
+ return nullptr;
}
void clear() override final