summaryrefslogtreecommitdiff
path: root/src/resources/npcdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/npcdb.cpp')
-rw-r--r--src/resources/npcdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/npcdb.cpp b/src/resources/npcdb.cpp
index 7d0f72b0..fa12eced 100644
--- a/src/resources/npcdb.cpp
+++ b/src/resources/npcdb.cpp
@@ -52,7 +52,7 @@ void NPCDB::readNPCNode(xmlNodePtr node, const std::string &filename)
return;
}
- BeingInfo *currentInfo = new BeingInfo;
+ auto *currentInfo = new BeingInfo;
currentInfo->setTargetCursorSize(XML::getProperty(node,
"targetCursor", "medium"));
@@ -94,7 +94,7 @@ void NPCDB::unload()
BeingInfo *NPCDB::get(int id)
{
- BeingInfoIterator i = mNPCInfos.find(id);
+ auto i = mNPCInfos.find(id);
if (i == mNPCInfos.end())
{