Change log

- fix flag check if someone is doing a ReloadUI while "player" is dead ( dead means UnitIsGhost("player") is true ) [variable: isDeadUpdateStop]
- fix friend guild group check: [function: BattlegroundTargets:GuildGroupFriendUpdate()]
problem: GetGuildInfo() can return nil after the event RAID_ROSTER_UPDATE, even if a player is in a guild
(for me this is a Blizzard bug, don't know, may be it's fixed in MoP)
workaround: check guildName ( GetGuildInfo() ) with a maximum of 3 times (linked with scoreboard update) per player if it returns nil (it can also return nil if someone is not in a guild)
(in my tests this workaround has a success rate of 100% in the 2. check, but a 3. check is there to cover any possible whatever thing)
------------------------------------------------------------------------
r132 | kunda | 2012-06-12 22:01:13 +0000 (Tue, 12 Jun 2012) | 1 line
Changed paths:
M /trunk/BattlegroundTargets.lua

3/4) covers one situation that 2) alone can't:
If you are attacked and no one in your group (including you) is targeting this attacker no range can be determined.
The included combatlog scan can cover such situations.