summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r--src/resources/db/itemdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index e27290413..f54f5075b 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -530,7 +530,7 @@ void ItemDB::loadXmlFile(const std::string &fileName,
effect.append(" / ");
effect.append(temp);
- if (inheritItemInfo)
+ if (inheritItemInfo != nullptr)
{
if (view == 0)
view = inheritItemInfo->getView();