Core: Fix build

This commit is contained in:
Vincent-Michael
2014-04-26 13:07:00 +02:00
parent 5586950dec
commit 3ef7a7299f

View File

@@ -464,7 +464,7 @@ void BattlegroundSA::AddPlayer(Player* player)
{
if (player->GetTeamId() == Attackers)
{
player->AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT);
//player->AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT);
if (urand(0, 1))
player->TeleportTo(607, 2682.936f, -830.368f, 15.0f, 2.895f, 0);
@@ -532,7 +532,7 @@ void BattlegroundSA::TeleportPlayers()
if (player->GetTeamId() == Attackers)
{
player->AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT);
//player->AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT);
if (urand(0, 1))
player->TeleportTo(607, 2682.936f, -830.368f, 15.0f, 2.895f, 0);