diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:20:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:20:20 +0300 |
commit | 8fb2c062cd1c03f032b99f4a7e7663c0653ba837 (patch) | |
tree | 0bb3cd9a01f0158822ae58a0d56b8b1808cb9bbc /src/resources/db/itemdb.cpp | |
parent | a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (diff) | |
download | mv-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.gz mv-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.bz2 mv-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.xz mv-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.zip |
Add missing const in resources directory.
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 e953aa433..3b942797d 100644 --- a/src/resources/db/itemdb.cpp +++ b/src/resources/db/itemdb.cpp @@ -301,7 +301,7 @@ void ItemDB::loadXmlFile(const std::string &fileName, int &tagNum) const std::string typeStr = XML::getProperty(node, "type", ""); int weight = XML::getProperty(node, "weight", 0); int view = XML::getProperty(node, "view", 0); - int cardColor = XML::getProperty(node, "cardColor", -1); + const int cardColor = XML::getProperty(node, "cardColor", -1); const int inherit = XML::getProperty(node, "inherit", -1); std::string name = XML::langProperty(node, "name", ""); |