Core/Battlegrounds: fixed ship movement in Strand of the Ancients

This commit is contained in:
Ovahlord
2020-04-18 12:54:25 +02:00
parent 1b8eec06ec
commit ee9f0b9bf0

View File

@@ -301,7 +301,7 @@ void BattlegroundSA::StartShips()
for (uint8 i = BG_SA_BOAT_ONE; i <= BG_SA_BOAT_TWO; ++i)
if (GameObject* obj = GetBGObject(i))
if (Transport* transport = obj->ToTransport())
transport->SetTransportState(GO_STATE_TRANSPORT_ACTIVE);
transport->SetTransportState(GO_STATE_TRANSPORT_STOPPED, 1);
for (BattlegroundPlayerMap::const_iterator itr = GetPlayers().begin(); itr != GetPlayers().end(); ++itr)
{