mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
[Crash Fix] Groundspawn Memory Corruption (#4157)
This commit is contained in:
+1
-3
@@ -355,9 +355,7 @@ bool Zone::IsSpecialBindLocation(const glm::vec4& location)
|
||||
|
||||
//this also just loads into entity_list, not really into zone
|
||||
bool Zone::LoadGroundSpawns() {
|
||||
GroundSpawns g;
|
||||
|
||||
memset(&g, 0, sizeof(g));
|
||||
GroundSpawns g{};
|
||||
|
||||
content_db.LoadGroundSpawns(zoneid, GetInstanceVersion(), &g);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user