summaryrefslogtreecommitdiff
path: root/src/heretic
diff options
context:
space:
mode:
authorkhokh20012015-03-09 16:32:08 +0900
committerkhokh20012015-03-09 16:32:08 +0900
commite62bc4cee05ddb2d2fcf0f04aee90c9158188ca6 (patch)
treec0d25af6f9de6c8a032f6a84282b3573cabad2f2 /src/heretic
parent70e39d13808d9a6de004bde9570a2db001cc95e4 (diff)
downloadchocolate-doom-e62bc4cee05ddb2d2fcf0f04aee90c9158188ca6.tar.gz
chocolate-doom-e62bc4cee05ddb2d2fcf0f04aee90c9158188ca6.tar.bz2
chocolate-doom-e62bc4cee05ddb2d2fcf0f04aee90c9158188ca6.zip
Hexen and Heretic use older DMX. Since OPL Voice Allocating algorithm differ. This commit adds old DMX's voice allocating alogrithm for Hexen and Heretic.
Diffstat (limited to 'src/heretic')
-rw-r--r--src/heretic/s_sound.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/heretic/s_sound.c b/src/heretic/s_sound.c
index 09f2032d..988dc039 100644
--- a/src/heretic/s_sound.c
+++ b/src/heretic/s_sound.c
@@ -516,6 +516,7 @@ void S_UpdateSounds(mobj_t * listener)
void S_Init(void)
{
+ I_SetOPLDriverVer(opl_v_old);
soundCurve = Z_Malloc(MAX_SND_DIST, PU_STATIC, NULL);
if (snd_Channels > 8)
{