aboutsummaryrefslogtreecommitdiff
path: root/queen/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'queen/sound.cpp')
-rw-r--r--queen/sound.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/queen/sound.cpp b/queen/sound.cpp
index 9938472d4e..cb8097f11a 100644
--- a/queen/sound.cpp
+++ b/queen/sound.cpp
@@ -117,6 +117,7 @@ Sound *Sound::giveSound(SoundMixer *mixer, Input *input, Resource *resource, uin
case COMPRESSION_OGG:
#ifndef USE_VORBIS
warning("Using OGG compressed datafile, but OGG support not compiled in");
+ return new SilentSound(mixer, input, resource);
#else
return new OGGSound(mixer, input, resource);
#endif