From 31fc7aea6317997bd45c5a3df0d5d34099105e43 Mon Sep 17 00:00:00 2001 From: Emagi Date: Sat, 23 Nov 2024 07:53:22 -0500 Subject: [PATCH] disable zone persistence for now issue with doors/widgets disappearing --- source/WorldServer/zoneserver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/WorldServer/zoneserver.cpp b/source/WorldServer/zoneserver.cpp index 31c3342..2e412ff 100644 --- a/source/WorldServer/zoneserver.cpp +++ b/source/WorldServer/zoneserver.cpp @@ -2509,7 +2509,7 @@ Spawn* ZoneServer::ProcessSpawnLocation(SpawnLocation* spawnlocation, mapentities[i]->spawn_type == SPAWN_ENTRY_TYPE_NPC) + /*if(spawnlocation->entities[i]->spawn_type == SPAWN_ENTRY_TYPE_NPC) spawnTime = database.CheckSpawnRemoveInfo(instNPCs,spawnlocation->entities[i]->spawn_location_id); else if(spawnlocation->entities[i]->spawn_type == SPAWN_ENTRY_TYPE_OBJECT) spawnTime = database.CheckSpawnRemoveInfo(instObjSpawns,spawnlocation->entities[i]->spawn_location_id); @@ -2520,7 +2520,7 @@ Spawn* ZoneServer::ProcessSpawnLocation(SpawnLocation* spawnlocation, map 1) { // if not 1, respawn after time AddRespawn(spawnlocation->entities[i]->spawn_location_id, spawnTime); return nullptr; - } + }*/ if (spawnlocation->conditional > 0) { if ((spawnlocation->conditional & SPAWN_CONDITIONAL_DAY) == SPAWN_CONDITIONAL_DAY && isDusk)