Fix crash in OutdoorPvPWG::UpdateQuestGiverPosition
Fixes issue #342. --HG-- branch : trunk
This commit is contained in:
@@ -678,7 +678,10 @@ void OutdoorPvPWG::OnCreatureCreate(Creature *creature, bool add)
|
||||
break;
|
||||
}
|
||||
case CREATURE_QUESTGIVER:
|
||||
if (add)
|
||||
m_questgivers[creature->GetDBTableGUIDLow()] = creature;
|
||||
else
|
||||
m_questgivers.erase(creature->GetDBTableGUIDLow());
|
||||
break;
|
||||
case CREATURE_ENGINEER:
|
||||
for (OutdoorPvP::OPvPCapturePointMap::iterator itr = m_capturePoints.begin(); itr != m_capturePoints.end(); ++itr)
|
||||
|
||||
Reference in New Issue
Block a user