From a3aece1f5d73941081ae93f7de8f926096374f1b Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 27 Apr 2018 07:24:15 +0000 Subject: [PATCH] * Fixed title music to play on html5 git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1602 353e56fe-9613-0410-8469-b96ad8e6f29c --- source/GUI/PauseMenu.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/GUI/PauseMenu.cpp b/source/GUI/PauseMenu.cpp index e3a77dd..904486d 100644 --- a/source/GUI/PauseMenu.cpp +++ b/source/GUI/PauseMenu.cpp @@ -12,7 +12,16 @@ void PlayMenuMusic() { + +#ifdef PLATFORM_HTML5 + //hacking this in for now, figure out how to consolidate file types between all platforms later. I mean, mp3 was a legal problem + //previously but now it's ok. But not sure if native android build can play them or not. Does the android build even use FMOD? Can't recall + GetAudioManager()->Play("dink/sound/3.mp3", true, true, true); + +#else GetAudioManager()->Play("dink/sound/3.ogg", true, true, true); + +#endif } Entity * DinkQuitGame()