summaryrefslogtreecommitdiff
path: root/src/music
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-01-13 00:14:29 +0000
committerglx <glx@openttd.org>2008-01-13 00:14:29 +0000
commit818979ebe36f69ef2a08e8efa981dd1105a23237 (patch)
treea83db9e2d03d0c97c3ea73cbcb623aff02c7f4b5 /src/music
parentbfa6087e0f8156ef0d9475b2d74368afec021e62 (diff)
downloadopenttd-818979ebe36f69ef2a08e8efa981dd1105a23237.tar.xz
(svn r11826) -Fix (r10444): at least one instance of dmusic driver is needed for it to be registered and usable
Diffstat (limited to 'src/music')
-rw-r--r--src/music/dmusic.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/music/dmusic.cpp b/src/music/dmusic.cpp
index d9839cee9..a29af52a8 100644
--- a/src/music/dmusic.cpp
+++ b/src/music/dmusic.cpp
@@ -15,6 +15,7 @@
#include <dmusicc.h>
#include <dmusicf.h>
+static FMusicDriver_DMusic iFMusicDriver_DMusic;
/** the performance object controls manipulation of the segments */
static IDirectMusicPerformance* performance = NULL;