From 076b3245397d32e478199ecf81b7550cf83c8980 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Mon, 16 Aug 2021 14:21:51 +0300 Subject: Fix ped comments playing at full volume behind the wall --- src/audio/AudioManager.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/audio/AudioManager.h') diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h index 20b7d0c9..7934996e 100644 --- a/src/audio/AudioManager.h +++ b/src/audio/AudioManager.h @@ -78,8 +78,11 @@ public: int32 m_nEntityIndex; CVector m_vecPos; float m_fDistance; - uint8 m_bVolume; + uint8 m_nVolume; int8 m_nProcess; +#if defined(EXTERNAL_3D_SOUND) && defined(FIX_BUGS) + uint8 m_nEmittingVolume; +#endif }; VALIDATE_SIZE(tPedComment, 28); -- cgit v1.2.3