mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10801] More ObjectGuid uses in battleground code.
This commit is contained in:
parent
6d13cd6553
commit
3de8212e03
12 changed files with 82 additions and 80 deletions
|
|
@ -5629,7 +5629,7 @@ void Spell::EffectSummonObjectWild(SpellEffectIndex eff_idx)
|
|||
{
|
||||
Team team = pl->GetTeam() == ALLIANCE ? HORDE : ALLIANCE;
|
||||
|
||||
((BattleGroundWS*)bg)->SetDroppedFlagGUID(pGameObj->GetGUID(), team);
|
||||
((BattleGroundWS*)bg)->SetDroppedFlagGuid(pGameObj->GetObjectGuid(), team);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
@ -5637,7 +5637,7 @@ void Spell::EffectSummonObjectWild(SpellEffectIndex eff_idx)
|
|||
{
|
||||
if(bg && bg->GetTypeID()==BATTLEGROUND_EY && bg->GetStatus() == STATUS_IN_PROGRESS)
|
||||
{
|
||||
((BattleGroundEY*)bg)->SetDroppedFlagGUID(pGameObj->GetGUID());
|
||||
((BattleGroundEY*)bg)->SetDroppedFlagGuid(pGameObj->GetObjectGuid());
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue