From 8660f14a94af91d42d3c8aae1b370f47cad9720b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 14 Aug 2017 19:10:55 +0300 Subject: Fix some pointer to bool conversions. --- src/resources/db/itemdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/db/itemdb.cpp') 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(); -- cgit v1.2.3-60-g2f50