mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 21:52:17 +00:00
[Code] ZoneStore Global to Singleton Cleanup (#4934)
This commit is contained in:
1 parent
bac892b582
commit
2e760d6397
26 files changed
+379
-384
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user