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/npcdb.cpp | |
parent | 2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff) | |
download | manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.gz manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.bz2 manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.xz manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.zip |
Remove extra ; from different code.
Diffstat (limited to 'src/resources/db/npcdb.cpp')
-rw-r--r-- | src/resources/db/npcdb.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/db/npcdb.cpp b/src/resources/db/npcdb.cpp index 3f858ccc3..a647522d1 100644 --- a/src/resources/db/npcdb.cpp +++ b/src/resources/db/npcdb.cpp @@ -53,7 +53,7 @@ void NPCDB::load() loadXmlFile(paths.getStringValue("npcsFile"), SkipError_false); loadXmlFile(paths.getStringValue("npcsPatchFile"), SkipError_true); - loadXmlDir("npcsPatchDir", loadXmlFile); + loadXmlDir("npcsPatchDir", loadXmlFile) mLoaded = true; } @@ -92,7 +92,7 @@ void NPCDB::loadXmlFile(const std::string &fileName, if (id == BeingTypeId_zero) { reportAlways("NPC Database: NPC with missing ID in %s!", - paths.getStringValue("npcsFile").c_str()); + paths.getStringValue("npcsFile").c_str()) continue; } else if (mNPCInfos.find(id) != mNPCInfos.end()) @@ -127,7 +127,7 @@ void NPCDB::loadXmlFile(const std::string &fileName, { reportAlways("Not found currency '%s' for npc %d", currency.c_str(), - CAST_S32(id)); + CAST_S32(id)) } currentInfo->setCurrency(currency); @@ -191,7 +191,7 @@ BeingInfo *NPCDB::get(const BeingTypeId id) if (i == mNPCInfos.end()) { reportAlways("NPCDB: Warning, unknown NPC ID %d requested", - toInt(id, int)); + toInt(id, int)) return BeingInfo::unknown; } return i->second; |