diff options
Diffstat (limited to 'src/resources/db/npcdialogdb.cpp')
-rw-r--r-- | src/resources/db/npcdialogdb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/npcdialogdb.cpp b/src/resources/db/npcdialogdb.cpp index 772a64a45..8b2e19d48 100644 --- a/src/resources/db/npcdialogdb.cpp +++ b/src/resources/db/npcdialogdb.cpp @@ -187,7 +187,7 @@ void NpcDialogDB::loadXmlFile(const std::string &fileName) void NpcDialogDB::deleteDialog(const std::string &name) { - DialogsIter it = mDialogs.find(name); + const DialogsIter it = mDialogs.find(name); if (it == mDialogs.end()) return; @@ -218,7 +218,7 @@ void NpcDialogDB::unload() NpcDialogInfo *NpcDialogDB::getDialog(const std::string &name) { - DialogsIter it = mDialogs.find(name); + const DialogsIter it = mDialogs.find(name); if (it == mDialogs.end()) return nullptr; return (*it).second; |