summaryrefslogtreecommitdiff
path: root/src
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
commitaa1d429d7f8d94a3fba4b413fc9f15021ddda6a4 (patch)
treea83db9e2d03d0c97c3ea73cbcb623aff02c7f4b5 /src
parent853ca6386e72b667e049ef3ef43770938b4cb700 (diff)
downloadopenttd-aa1d429d7f8d94a3fba4b413fc9f15021ddda6a4.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')
-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;