Alex King 2023-04-23 15:05:47 -04:00 committed by GitHub
parent 39b5374e92
commit 03c158b674
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1256,8 +1256,10 @@ uint8 Client::GetCharMaxLevelFromQGlobal() {
std::list<QGlobal> global_map;
const uint32 zone_id = zone ? zone->GetZoneID() : 0;
if (char_cache) {
QGlobalCache::Combine(global_map, char_cache->GetBucket(), 0, CharacterID(), zone->GetZoneID());
QGlobalCache::Combine(global_map, char_cache->GetBucket(), 0, CharacterID(), zone_id);
}
for (const auto& global : global_map) {