Code
# HG changeset patch
# User InsteR
# Date 1338535792 -39600
# Node ID 735a41ff05c1d21798f052ae6ef30b85d1141a4d
# Parent 4f8938b0e1a2ac9eea2ad970e2322994c7725a11
diff -r 4f8938b0e1a2 -r 735a41ff05c1 src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp
--- a/src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp Fri Jun 01 18:28:42 2012 +1100
+++ b/src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp Fri Jun 01 18:29:52 2012 +1100
@@ -258,6 +258,11 @@
if (m_PointState[point] == EY_POINT_UNDER_CONTROL && player->GetTeam() != m_PointOwnedByTeam[point])
this->EventTeamLostPoint(player, point);
}
+ // hack fix for Fel Reaver Ruins
+ if (point == FEL_REAVER && m_PointOwnedByTeam[point] == player->GetTeam())
+ if (m_FlagState && GetFlagPickerGUID() == player->GetGUID())
+ if (player->GetDistance2d(2044,1730) < 2)
+ EventPlayerCapturedFlag(player, BG_EY_OBJECT_FLAG_FEL_REAVER);
}
}
}