aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Wintergrasp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Wintergrasp.cpp b/src/game/Wintergrasp.cpp
index fe6e192438a..52292dcfeb4 100644
--- a/src/game/Wintergrasp.cpp
+++ b/src/game/Wintergrasp.cpp
@@ -755,7 +755,7 @@ bool OPvPWintergrasp::UpdateGameObjectInfo(GameObject *go) const
void OPvPWintergrasp::HandlePlayerEnterZone(Player * plr, uint32 zone)
{
- if(plr->GetTeam() == getDefenderTeam() && !isWarTime())
+ if(plr->GetTeamId() == getDefenderTeam() && !isWarTime())
{
plr->CastSpell(plr,SPELL_ESSENCE_OF_WG,true);
}