summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d28ba9b9d..e5c8a55d3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1845,7 +1845,9 @@ int main(int argc, char *argv[])
MenuMusicFetcher soundfetcher;
ISoundManager *sound = NULL;
+#if USE_SOUND
sound = createOpenALSoundManager(&soundfetcher);
+#endif
if(!sound)
sound = &dummySoundManager;
SimpleSoundSpec spec;