mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 22:56:37 +00:00
Migrate zone [skip ci]
This commit is contained in:
+1
-1
@@ -330,7 +330,7 @@ int main(int argc, char** argv) {
|
||||
database.PurgeAllDeletedDataBuckets();
|
||||
|
||||
LogInfo("Loading zones");
|
||||
database.LoadZoneNames();
|
||||
content_db.LoadZoneNames();
|
||||
LogInfo("Clearing groups");
|
||||
database.ClearGroup();
|
||||
LogInfo("Clearing raids");
|
||||
|
||||
@@ -108,7 +108,7 @@ bool ZoneServer::SetZone(uint32 iZoneID, uint32 iInstanceID, bool iStaticZone) {
|
||||
if (zn)
|
||||
{
|
||||
strn0cpy(zone_name, zn, sizeof(zone_name));
|
||||
if (database.GetZoneLongName((char*)zone_name, &longname, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr))
|
||||
if (content_db.GetZoneLongName((char*)zone_name, &longname, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr))
|
||||
{
|
||||
strn0cpy(long_name, longname, sizeof(long_name));
|
||||
safe_delete_array(longname);
|
||||
|
||||
Reference in New Issue
Block a user