mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
Applied new coding standard, see http://github.com/mangos/mangos/wikis/codingstandards for more.
This commit is contained in:
parent
5d294f0ad2
commit
adc46ef907
23 changed files with 335 additions and 337 deletions
|
|
@ -6650,7 +6650,7 @@ bool ObjectMgr::AddGameTele(GameTele& tele)
|
|||
for(GameTeleMap::const_iterator itr = m_GameTeleMap.begin(); itr != m_GameTeleMap.end(); ++itr)
|
||||
if(itr->first > new_id)
|
||||
new_id = itr->first;
|
||||
|
||||
|
||||
// use next
|
||||
++new_id;
|
||||
|
||||
|
|
@ -6690,7 +6690,7 @@ bool ObjectMgr::DeleteGameTele(std::string name)
|
|||
|
||||
void ObjectMgr::LoadTrainerSpell()
|
||||
{
|
||||
// For reload case
|
||||
// For reload case
|
||||
for (CacheTrainerSpellMap::iterator itr = m_mCacheTrainerSpellMap.begin(); itr != m_mCacheTrainerSpellMap.end(); ++itr)
|
||||
itr->second.Clear();
|
||||
m_mCacheTrainerSpellMap.clear();
|
||||
|
|
@ -6781,7 +6781,7 @@ void ObjectMgr::LoadTrainerSpell()
|
|||
|
||||
void ObjectMgr::LoadVendors()
|
||||
{
|
||||
// For reload case
|
||||
// For reload case
|
||||
for (CacheVendorItemMap::iterator itr = m_mCacheVendorItemMap.begin(); itr != m_mCacheVendorItemMap.end(); ++itr)
|
||||
itr->second.Clear();
|
||||
m_mCacheVendorItemMap.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue