diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-02-01 19:34:30 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-02-01 20:00:41 +0100 |
| commit | e492944b901f3f088e624a888660cf7b0d3279ec (patch) | |
| tree | 2c8baa1f2625f96568353199902d6e8ac55e345e /src/server/game/Handlers/CharacterHandler.cpp | |
| parent | 41e48ff2e1464e0ea1271b4b171d2ea4460c41eb (diff) | |
Core/Misc: Reduce code differences between branches
Diffstat (limited to 'src/server/game/Handlers/CharacterHandler.cpp')
| -rw-r--r-- | src/server/game/Handlers/CharacterHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Handlers/CharacterHandler.cpp b/src/server/game/Handlers/CharacterHandler.cpp index 1b47558c802..97cd53e6c22 100644 --- a/src/server/game/Handlers/CharacterHandler.cpp +++ b/src/server/game/Handlers/CharacterHandler.cpp @@ -776,12 +776,12 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder const& holder) { Field* fields = resultGuild->Fetch(); pCurrChar->SetInGuild(fields[0].GetUInt32()); - pCurrChar->SetRank(fields[1].GetUInt8()); + pCurrChar->SetGuildRank(fields[1].GetUInt8()); } else if (pCurrChar->GetGuildId()) // clear guild related fields in case wrong data about non existed membership { pCurrChar->SetInGuild(0); - pCurrChar->SetRank(0); + pCurrChar->SetGuildRank(0); } if (pCurrChar->GetGuildId() != 0) |
