Skip to content

Commit 3453496

Browse files
Merge AzerothCore 3.3.5 to ElunaAzerothcore [skip ci]
2 parents 5f937bc + 805ccc8 commit 3453496

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/server/game/Handlers/CharacterHandler.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,13 @@ void WorldSession::HandlePlayerLoginToCharInWorld(Player* pCurrChar)
11301130
ChatHandler chH = ChatHandler(this);
11311131
m_playerLoading = true;
11321132

1133+
// Exit vehicle on reconnect - the client has fully reset so
1134+
// the player can no longer control the vehicle. Without this
1135+
// the player is stuck: server-side still seated, but the
1136+
// client has no vehicle UI or movement control.
1137+
if (pCurrChar->GetVehicle())
1138+
pCurrChar->ExitVehicle();
1139+
11331140
pCurrChar->SendDungeonDifficulty(false);
11341141

11351142
WorldPacket data(SMSG_LOGIN_VERIFY_WORLD, 20);

0 commit comments

Comments
 (0)