diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-11-26 00:51:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-11-27 20:33:15 +0300 |
commit | 0c20db8d108c4123fcc3ecb343759e68567a4d4e (patch) | |
tree | f577edeae7b4866d68c084a1eaa229e98c80ea8f /src/resources/db/itemoptiondb.cpp | |
parent | 2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff) | |
download | manaverse-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.gz manaverse-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.bz2 manaverse-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.xz manaverse-0c20db8d108c4123fcc3ecb343759e68567a4d4e.zip |
Remove extra ; from different code.
Diffstat (limited to 'src/resources/db/itemoptiondb.cpp')
-rw-r--r-- | src/resources/db/itemoptiondb.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/db/itemoptiondb.cpp b/src/resources/db/itemoptiondb.cpp index e983cd801..e66019a3d 100644 --- a/src/resources/db/itemoptiondb.cpp +++ b/src/resources/db/itemoptiondb.cpp @@ -45,7 +45,7 @@ void ItemOptionDb::load() logger->log1("Initializing item options database..."); loadXmlFile(paths.getStringValue("itemOptionsFile"), SkipError_false); loadXmlFile(paths.getStringValue("itemOptionsPatchFile"), SkipError_true); - loadXmlDir("itemOptionsPatchDir", loadXmlFile); + loadXmlDir("itemOptionsPatchDir", loadXmlFile) mLoaded = true; } @@ -99,7 +99,7 @@ void ItemOptionDb::loadXmlFile(const std::string &fileName, else { reportAlways("ItemFieldDb: Error while loading %s!", - fileName.c_str()); + fileName.c_str()) } return; } @@ -125,7 +125,7 @@ void ItemOptionDb::loadXmlFile(const std::string &fileName, 0); if (id <= 0) { - reportAlways("Empty id field in ItemOptionDb"); + reportAlways("Empty id field in ItemOptionDb") continue; } STD_VECTOR<ItemFieldType*> &options = mOptions[id]; |