Implemented vehicle opcodes that allow seat changing

This commit is contained in:
Yaki Khadafi 2015-02-03 19:54:09 +00:00 committed by Antz
parent 6b49dfb4aa
commit a7f0e6a4de
8 changed files with 178 additions and 18 deletions

View file

@ -441,6 +441,11 @@ void WorldSession::HandleSetActiveMoverOpcode(WorldPacket& recv_data)
_player->GetMover()->GetGuidStr().c_str(), guid.GetString().c_str());
return;
}
else
{
if (Unit* mover = ObjectAccessor::GetUnit(*GetPlayer(), guid))
_player->SetMover(mover);
}
}
void WorldSession::HandleMoveNotActiveMoverOpcode(WorldPacket& recv_data)