Merge pull request #4714 from elecyb/mover

Core-Vehicles: Change player mover when add/remove passenger (thanks Sub...
This commit is contained in:
Kaelima
2012-01-08 06:41:02 -08:00
3 changed files with 6 additions and 3 deletions
@@ -473,10 +473,7 @@ void WorldSession::HandleSetActiveMoverOpcode(WorldPacket &recv_data)
if (GetPlayer()->IsInWorld())
{
if (_player->m_mover->GetGUID() != guid)
{
sLog->outError("HandleSetActiveMoverOpcode: incorrect mover guid: mover is " UI64FMTD " (%s - Entry: %u) and should be " UI64FMTD, guid, GetLogNameForGuid(guid), GUID_ENPART(guid), _player->m_mover->GetGUID());
GetPlayer()->SetMover(GetPlayer());
}
}
}