Bläddra i källkod

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

LethalEncounter 4 år sedan
förälder
incheckning
2e903f5f0b
1 ändrade filer med 2 tillägg och 0 borttagningar
  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