summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ttd.c b/ttd.c
index c1a4f8956..a230a5ab2 100644
--- a/ttd.c
+++ b/ttd.c
@@ -8,6 +8,7 @@
#define VARDEF
#include "ttd.h"
+#include "mixer.h"
#include "spritecache.h"
#include "gfx.h"
#include "gui.h"
@@ -626,7 +627,8 @@ int ttd_main(int argc, char* argv[])
// Sample catalogue
DEBUG(misc, 1) ("Loading sound effects...");
_os_version = GetOSVersion();
- MxInitialize(11025, "sample.cat");
+ MxInitialize(11025);
+ SoundInitialize("sample.cat");
// This must be done early, since functions use the InvalidateWindow* calls
InitWindowSystem();