mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-22 14:42:24 +00:00
Migrate ground_spawns [skip ci]
This commit is contained in:
parent
26b24c02f1
commit
4b55438b3a
@ -695,6 +695,7 @@ void ZoneDatabase::UpdateObject(uint32 id, uint32 type, uint32 icon, const Objec
|
||||
SaveWorldContainer(object.zone_id, id, inst);
|
||||
}
|
||||
|
||||
//
|
||||
Ground_Spawns* ZoneDatabase::LoadGroundSpawns(uint32 zone_id, int16 version, Ground_Spawns* gs) {
|
||||
|
||||
std::string query = StringFormat("SELECT max_x, max_y, max_z, "
|
||||
|
||||
@ -302,7 +302,7 @@ bool Zone::LoadGroundSpawns() {
|
||||
memset(&groundspawn, 0, sizeof(groundspawn));
|
||||
int gsindex=0;
|
||||
LogInfo("Loading Ground Spawns from DB");
|
||||
database.LoadGroundSpawns(zoneid, GetInstanceVersion(), &groundspawn);
|
||||
content_db.LoadGroundSpawns(zoneid, GetInstanceVersion(), &groundspawn);
|
||||
uint32 ix=0;
|
||||
char* name = nullptr;
|
||||
uint32 gsnumber=0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user