diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-14 19:10:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-14 19:10:55 +0300 |
commit | 8660f14a94af91d42d3c8aae1b370f47cad9720b (patch) | |
tree | 777b5782c3c6e97c575c7ca9a54d2ef55d2d07b1 /src/resources/db/itemdb.cpp | |
parent | 1d3e44a5d4e50d18e614a888c6cd3b8cccdf7da4 (diff) | |
download | plus-8660f14a94af91d42d3c8aae1b370f47cad9720b.tar.gz plus-8660f14a94af91d42d3c8aae1b370f47cad9720b.tar.bz2 plus-8660f14a94af91d42d3c8aae1b370f47cad9720b.tar.xz plus-8660f14a94af91d42d3c8aae1b370f47cad9720b.zip |
Fix some pointer to bool conversions.
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r-- | src/resources/db/itemdb.cpp | 2 |
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(); |