[Expansions] Expansion Deprecation Revert (#2312)

* [Expansions] Expansion Deprecation Revert

* Add blank SQL for deprecate

* Update version.h

* Adjustments
This commit is contained in:
Chris Miles
2022-07-14 20:48:26 -05:00
committed by GitHub
parent 9488ee1e8c
commit 59f8d54491
7 changed files with 609 additions and 7 deletions
+2 -2
View File
@@ -347,7 +347,7 @@ void Client::Handle_OP_ZoneChange(const EQApplicationPacket *app) {
for (auto &z: zone_store.zones) {
if (z.short_name == target_zone_name && z.version == 0) {
found_zone = true;
if (z.min_expansion <= (content_service.GetCurrentExpansion() + 1)) {
if (z.expansion <= (content_service.GetCurrentExpansion() + 1)) {
meets_zone_expansion_check = true;
break;
}
@@ -361,7 +361,7 @@ void Client::Handle_OP_ZoneChange(const EQApplicationPacket *app) {
if (!found_zone) {
auto zones = ZoneRepository::GetWhere(content_db,
fmt::format(
"min_expansion <= {} AND short_name = '{}' and version = 0",
"expansion <= {} AND short_name = '{}' and version = 0",
(content_service.GetCurrentExpansion() + 1),
target_zone_name
)