From 91ceb181b502b9169911dab8c2254f8dc5dc0202 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 2 Jul 2022 16:22:20 +0100 Subject: [PATCH] mantis 9013: add sound to list of assets to save on OAR --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index e3a0eb9908..5d2e4f4508 100755 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -7306,7 +7306,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP zc.AddBytes(ep, len); } - bool hassound = !part.Sound.IsZero() || part.SoundFlags != 0; + bool hassound = part.Sound.IsNotZero() || part.SoundFlags != 0; if (hassound) zc.AddUUID(part.Sound); else @@ -7729,7 +7729,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP } } - if (!part.Sound.IsZero() || part.SoundFlags != 0) + if (part.Sound.IsNotZero() || part.SoundFlags != 0) { BlockLengh += 25; cflags |= CompressedFlags.HasSound;