Core: Fix build
This commit is contained in:
@@ -464,7 +464,7 @@ void BattlegroundSA::AddPlayer(Player* player)
|
|||||||
{
|
{
|
||||||
if (player->GetTeamId() == Attackers)
|
if (player->GetTeamId() == Attackers)
|
||||||
{
|
{
|
||||||
player->AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT);
|
//player->AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT);
|
||||||
|
|
||||||
if (urand(0, 1))
|
if (urand(0, 1))
|
||||||
player->TeleportTo(607, 2682.936f, -830.368f, 15.0f, 2.895f, 0);
|
player->TeleportTo(607, 2682.936f, -830.368f, 15.0f, 2.895f, 0);
|
||||||
@@ -532,7 +532,7 @@ void BattlegroundSA::TeleportPlayers()
|
|||||||
|
|
||||||
if (player->GetTeamId() == Attackers)
|
if (player->GetTeamId() == Attackers)
|
||||||
{
|
{
|
||||||
player->AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT);
|
//player->AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT);
|
||||||
|
|
||||||
if (urand(0, 1))
|
if (urand(0, 1))
|
||||||
player->TeleportTo(607, 2682.936f, -830.368f, 15.0f, 2.895f, 0);
|
player->TeleportTo(607, 2682.936f, -830.368f, 15.0f, 2.895f, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user