diff options
author | Gacko <gacko28@gmx.de> | 2013-01-12 20:33:08 +0100 |
---|---|---|
committer | Gacko <gacko28@gmx.de> | 2013-01-12 20:33:08 +0100 |
commit | 26aeed3744acace54b404754e7b9c902c9ef4572 (patch) | |
tree | 464ab7a88297f1f84b7649cf38d9ae97a2bd0efa /src | |
parent | 31043b1ae3854bc933fbfa934260ed7de3ab9a98 (diff) |
Once last codestyle change.
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp index 369519312e2..076c68b5f76 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp +++ b/src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp @@ -261,7 +261,7 @@ void BattlegroundEY::UpdatePointStatuses() if (point == FEL_REAVER && m_PointOwnedByTeam[point] == player->GetTeam()) if (m_FlagState && GetFlagPickerGUID() == player->GetGUID()) - if (player->GetDistance2d(2044,1730) < 2) + if (player->GetDistance2d(2044.0f, 1730.0f) < 2.0f) EventPlayerCapturedFlag(player, BG_EY_OBJECT_FLAG_FEL_REAVER); } } |