mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core/Player: Fixed client crashes at login (issue introduced in revision 1c33354f20)
--HG-- branch : trunk
This commit is contained in:
@@ -742,7 +742,7 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder * holder)
|
||||
if (PreparedQueryResult resultGuild = holder->GetPreparedResult(PLAYER_LOGIN_QUERY_LOADGUILD))
|
||||
{
|
||||
pCurrChar->SetInGuild(resultGuild->GetUInt32(0));
|
||||
pCurrChar->SetRank(resultGuild->GetUInt32(1));
|
||||
pCurrChar->SetRank(resultGuild->GetUInt8(1));
|
||||
}
|
||||
else if (pCurrChar->GetGuildId()) // clear guild related fields in case wrong data about non existed membership
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user