mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 10:37:06 +00:00
Implemented vehicle opcodes that allow seat changing
This commit is contained in:
parent
6b49dfb4aa
commit
a7f0e6a4de
8 changed files with 178 additions and 18 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue