[Code] ZoneStore Global to Singleton Cleanup (#4934)

This commit is contained in:
Alex King authored and GitHub committed 2025-06-23 06:45:06 -04:00
1 parent bac892b582
commit 2e760d6397
26 files changed
+379 -384

No files matched your search

+1 -1
View File
@@ -352,7 +352,7 @@ void Client::Handle_OP_ZoneChange(const EQApplicationPacket *app) {
if (content_service.GetCurrentExpansion() >= Expansion::Classic && !GetGM()) {
bool meets_zone_expansion_check = false;
auto z = zone_store.GetZoneWithFallback(ZoneID(target_zone_name), 0);
auto z = ZoneStore::Instance()->GetZoneWithFallback(ZoneID(target_zone_name), 0);
if (z->expansion <= content_service.GetCurrentExpansion() || z->bypass_expansion_check) {
meets_zone_expansion_check = true;
}