Core/Battleground: Fix a possible crash in Alterac Valley.
Author: HUNTERok Fixes issue #4268 --HG-- branch : trunk
This commit is contained in:
@@ -712,7 +712,7 @@ void BattlegroundAV::ChangeMineOwner(uint8 mine, uint32 team, bool initial)
|
|||||||
{
|
{
|
||||||
if (mine == AV_SOUTH_MINE) //i think this gets called all the time
|
if (mine == AV_SOUTH_MINE) //i think this gets called all the time
|
||||||
{
|
{
|
||||||
Creature* creature = GetBGCreature(AV_CPLACE_MINE_S_3);
|
if (Creature* creature = GetBGCreature(AV_CPLACE_MINE_S_3))
|
||||||
YellToAll(creature, LANG_BG_AV_S_MINE_BOSS_CLAIMS, LANG_UNIVERSAL);
|
YellToAll(creature, LANG_BG_AV_S_MINE_BOSS_CLAIMS, LANG_UNIVERSAL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user