mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
[Guilds] Clean up GUILD_RANK_NONE references (#4059)
Should be exhaustive for guild rank values Cleans up redefinition of `GUILD_RANK_NONE` by including `GUILD_RANK_NONE_TI` Fixes #4057
This commit is contained in:
@@ -881,7 +881,7 @@ static void ProcessGuildMember(MySQLRequestRow row, CharGuildInfo &into)
|
||||
if (into.guild_id == 0) {
|
||||
into.guild_id = GUILD_NONE;
|
||||
}
|
||||
if (into.rank > GUILD_MAX_RANK) {
|
||||
if (into.rank > GUILD_MAX_RANK + 1) {
|
||||
into.rank = GUILD_RANK_NONE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user