From 91cec087c90c8b7c3355d6746f2c5625d8149a79 Mon Sep 17 00:00:00 2001 From: Schmoozerd Date: Fri, 20 Apr 2012 12:01:54 +0200 Subject: [PATCH] [11969] Fix compile from last commit for some compilers. Thanks to LordJz for pointing --- src/game/CreatureLinkingMgr.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/CreatureLinkingMgr.cpp b/src/game/CreatureLinkingMgr.cpp index d8b844939..304798496 100644 --- a/src/game/CreatureLinkingMgr.cpp +++ b/src/game/CreatureLinkingMgr.cpp @@ -268,7 +268,7 @@ void CreatureLinkingHolder::AddMasterToHolder(Creature* pCreature) if (itr->second == pCreature->GetObjectGuid()) return; // Already added - m_masterGuid.emplace(BossGuidMap::value_type(pCreature->GetEntry(), pCreature->GetObjectGuid())); + m_masterGuid.insert(BossGuidMap::value_type(pCreature->GetEntry(), pCreature->GetObjectGuid())); } // Function to process actions for linked NPCs diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index d6fb5ef84..7e2d092ec 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11968" + #define REVISION_NR "11969" #endif // __REVISION_NR_H__