summaryrefslogtreecommitdiff
path: root/src/audio
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-11 13:35:50 +0300
committerSergeanur <s.anureev@yandex.ua>2021-08-11 13:35:50 +0300
commit2eb0390dc934ba589b8c90360d02eef9fbba1b5e (patch)
tree091b4eb816180b6aabf53f1e5220ca2c72446ad1 /src/audio
parentf131f70761c0b2428eb73f79bdbd91bbf3d060e5 (diff)
Fix unset emitting volume for sawmill
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/AudioLogic.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp
index 53d26ac1..d4d1ed96 100644
--- a/src/audio/AudioLogic.cpp
+++ b/src/audio/AudioLogic.cpp
@@ -7320,6 +7320,9 @@ cAudioManager::ProcessSawMillScriptObject(uint8 sound)
m_sQueueSample.m_bReleasingSoundFlag = TRUE;
m_sQueueSample.m_nReleasingVolumeModificator = 3;
m_sQueueSample.m_fSpeedMultiplier = 2.0f;
+#ifdef FIX_BUGS
+ m_sQueueSample.m_nEmittingVolume = 70;
+#endif
RESET_LOOP_OFFSETS
m_sQueueSample.m_bReverbFlag = TRUE;
m_sQueueSample.m_bRequireReflection = FALSE;