summaryrefslogtreecommitdiff
path: root/src/resources/db/colordb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-26 00:51:57 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-27 20:33:15 +0300
commit0c20db8d108c4123fcc3ecb343759e68567a4d4e (patch)
treef577edeae7b4866d68c084a1eaa229e98c80ea8f /src/resources/db/colordb.cpp
parent2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff)
downloadmanaverse-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/colordb.cpp')
-rw-r--r--src/resources/db/colordb.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/resources/db/colordb.cpp b/src/resources/db/colordb.cpp
index 236c4d934..401f67ed2 100644
--- a/src/resources/db/colordb.cpp
+++ b/src/resources/db/colordb.cpp
@@ -67,7 +67,7 @@ void ColorDB::load()
SkipError_false);
loadColorLists(paths.getStringValue("itemColorsPatchFile"),
SkipError_true);
- loadXmlDir("itemColorsPatchDir", loadColorLists);
+ loadXmlDir("itemColorsPatchDir", loadColorLists)
it = mColorLists.find("hair");
if (it != mColorLists.end())
@@ -95,7 +95,7 @@ void ColorDB::loadHair(const std::string &fileName,
return;
}
- reportAlways("Found legacy hair.xml");
+ reportAlways("Found legacy hair.xml")
for_each_xml_child_node(node, root)
{
if (xmlNameEqual(node, "include"))
@@ -113,7 +113,7 @@ void ColorDB::loadHair(const std::string &fileName,
if (colors.find(id) != colors.end())
{
reportAlways("ColorDB: Redefinition of dye ID %d",
- toInt(id, int));
+ toInt(id, int))
}
colors[id] = ItemColorData(id, XML::langProperty(node, "name", ""),
@@ -194,7 +194,7 @@ std::string &ColorDB::getHairColorName(const ItemColor id)
const ColorListsIterator it = mColorLists.find("hair");
if (it == mColorLists.end())
{
- reportAlways("ColorDB: Error, hair colors list empty");
+ reportAlways("ColorDB: Error, hair colors list empty")
return mFail;
}
@@ -203,7 +203,7 @@ std::string &ColorDB::getHairColorName(const ItemColor id)
if (i == (*it).second.end())
{
reportAlways("ColorDB: Error, unknown dye ID# %d",
- toInt(id, int));
+ toInt(id, int))
return mFail;
}
return i->second.name;