diff --git a/game/src/item_manager_read_tables.cpp b/game/src/item_manager_read_tables.cpp index fe95d7e..3bb2ff8 100644 --- a/game/src/item_manager_read_tables.cpp +++ b/game/src/item_manager_read_tables.cpp @@ -626,7 +626,7 @@ bool ITEM_MANAGER::ReadMonsterDropItemGroup(const char * c_pszFileName) { CDropItemGroup* pkGroup; bool bNew = true; - itertype(m_map_pkDropItemGroup) it = m_map_pkDropItemGroup.find (iMobVnum); + auto it = m_map_pkDropItemGroup.find(iMobVnum); if (it == m_map_pkDropItemGroup.end()) { pkGroup = M2_NEW CDropItemGroup(0, iMobVnum, stName); @@ -634,7 +634,7 @@ bool ITEM_MANAGER::ReadMonsterDropItemGroup(const char * c_pszFileName) else { bNew = false; - CDropItemGroup* pkGroup = it->second; + pkGroup = it->second; } for (int k = 1; k < 256; ++k)