mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[7535] Fixed typo in transport boarding code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
59b7d05e8d
commit
294e2c69a9
2 changed files with 2 additions and 2 deletions
|
|
@ -206,7 +206,7 @@ void WorldSession::HandleMovementOpcodes( WorldPacket & recv_data )
|
|||
return;
|
||||
|
||||
// if we boarded a transport, add us to it
|
||||
if (plMover && plMover->m_transport)
|
||||
if (plMover && !plMover->m_transport)
|
||||
{
|
||||
// elevators also cause the client to send MOVEMENTFLAG_ONTRANSPORT - just unmount if the guid can be found in the transport list
|
||||
for (MapManager::TransportSet::iterator iter = MapManager::Instance().m_Transports.begin(); iter != MapManager::Instance().m_Transports.end(); ++iter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue