From 7cd9b23c7d1d6bd2710cb3d5338b56800cbcf480 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Wed, 15 Jun 2022 08:58:14 +0100 Subject: [PATCH] Fix NOSOUND build Follow-up to 9d082389d86417823332169584f901f100482bb8 --- Source/sound_stubs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/sound_stubs.cpp b/Source/sound_stubs.cpp index 492ed39c2..112932923 100644 --- a/Source/sound_stubs.cpp +++ b/Source/sound_stubs.cpp @@ -20,12 +20,13 @@ TSnd::~TSnd() void snd_init() { } void snd_deinit() { } void music_stop() { } -void music_start(uint8_t nTrack) { } +void music_start(_music_id nTrack) { } void sound_disable_music(bool disable) { } int sound_get_or_set_music_volume(int volume) { return 0; } int sound_get_or_set_sound_volume(int volume) { return 0; } void music_mute() { } void music_unmute() { } +_music_id GetLevelMusic(dungeon_type dungeonType) { return TMUSIC_TOWN; } // clang-format on } // namespace devilution