summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormik1893 <michele.roscelli@gmail.com>2016-08-24 11:53:34 +0100
committerYehonal <yehonal.azeroth@gmail.com>2016-08-24 14:27:39 +0200
commit62c73fd6ef18dcf9ccea6302af0c094ab5b73e78 (patch)
tree3d6eae41a1c06b51579204c6469030f8db1dcd35 /src
parentb689b7f1e1e3d2efba5493a05e312d5722ca0b64 (diff)
Will of Forsaken + Trinket PVP correct faction check
Diffstat (limited to 'src')
-rw-r--r--src/scripts/Spells/spell_generic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/Spells/spell_generic.cpp b/src/scripts/Spells/spell_generic.cpp
index 564ea19e8f..44d8225565 100644
--- a/src/scripts/Spells/spell_generic.cpp
+++ b/src/scripts/Spells/spell_generic.cpp
@@ -2159,7 +2159,7 @@ class spell_pvp_trinket_wotf_shared_cd : public SpellScriptLoader
// Spell::SendSpellCooldown() skips all spells with TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD
player->AddSpellAndCategoryCooldowns(GetSpellInfo(), GetCastItem() ? GetCastItem()->GetEntry() : 0, GetSpell());
- if (player->GetTeamId() == TEAM_HORDE)
+ if (player->GetTeamId(true) == TEAM_HORDE)
if (GetSpellInfo()->Id == SPELL_WILL_OF_THE_FORSAKEN_COOLDOWN_TRIGGER)
{
WorldPacket data;