Browse Source

Fixed death sounds if the client was lower than the underworld of the zone (we never set it properly)

LethalEncounter 3 years ago
parent
commit
2e903f5f0b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      EQ2/source/WorldServer/zoneserver.cpp

+ 2 - 0
EQ2/source/WorldServer/zoneserver.cpp

@@ -4959,6 +4959,8 @@ EQ2Packet* ZoneServer::GetZoneInfoPacket(Client* client){
 	packet->setDataByName("x", client->GetPlayer()->GetX());
 	packet->setDataByName("y", client->GetPlayer()->GetY());
 	packet->setDataByName("z", client->GetPlayer()->GetZ());
+
+	packet->setDataByName("underworld", underworld);
 	
 	// unknown3 can prevent screen shots from being taken if
 	//packet->setDataByName("unknown3", 2094661567, 1);			// Screenshots allowed with this value