mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
[Crash Fix] Groundspawn Memory Corruption (#4157)
This commit is contained in:
parent
8ee7910569
commit
74a63daf7e
@ -355,9 +355,7 @@ bool Zone::IsSpecialBindLocation(const glm::vec4& location)
|
|||||||
|
|
||||||
//this also just loads into entity_list, not really into zone
|
//this also just loads into entity_list, not really into zone
|
||||||
bool Zone::LoadGroundSpawns() {
|
bool Zone::LoadGroundSpawns() {
|
||||||
GroundSpawns g;
|
GroundSpawns g{};
|
||||||
|
|
||||||
memset(&g, 0, sizeof(g));
|
|
||||||
|
|
||||||
content_db.LoadGroundSpawns(zoneid, GetInstanceVersion(), &g);
|
content_db.LoadGroundSpawns(zoneid, GetInstanceVersion(), &g);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user