Browse Source

Fixed bug with zoning crashing the 283 client

LethalEncounter 1 year ago
parent
commit
e486b1acc9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EQ2/source/WorldServer/zoneserver.cpp

+ 1 - 1
EQ2/source/WorldServer/zoneserver.cpp

@@ -3884,7 +3884,7 @@ void ZoneServer::RemoveSpawn(bool spawnListLocked, Spawn* spawn, bool delete_spa
 	for (client_itr = clients.begin(); client_itr != clients.end(); client_itr++) {
 		client = *client_itr;
 
-		if (client) {
+		if (client && (client->GetVersion() > 283 || !client->IsZoning() || client->GetPlayer() != spawn)) { //don't send destroy ghost of 283 client when zoning
 			if (client->IsConnected() && (!packet || packet_version != client->GetVersion()))
 			{
 				safe_delete(packet);