From e3de2f0056e5e55843b2b21253f18d4652ea30c3 Mon Sep 17 00:00:00 2001 From: David Griffith Date: Wed, 19 Jun 2019 01:09:57 -0700 Subject: [PATCH] OLD_SOUND_FLAG is valid only for V3 games. For V5+, the game wants to use UNDO. --- src/common/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/sound.c b/src/common/sound.c index 7c2e656..b1cbf4c 100644 --- a/src/common/sound.c +++ b/src/common/sound.c @@ -48,7 +48,7 @@ static bool playing = FALSE; */ void init_sound (void) { - if ((h_flags & SOUND_FLAG) || (h_flags & OLD_SOUND_FLAG)) { + if ((h_flags & SOUND_FLAG) || (h_version == V3 && (h_flags & OLD_SOUND_FLAG))) { f_setup.sound_flag = TRUE; locked = FALSE; playing = FALSE; -- 2.34.1