From a0a409c355ced3fed1158f6f357776fd2dccac27 Mon Sep 17 00:00:00 2001 From: Wanne Date: Mon, 9 Sep 2013 08:50:44 +0000 Subject: [PATCH] - Fixed compilation error in MapEditor build (by Faalagorn) o Forgot to add the NEWMUSIC define git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6382 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Editor/editscreen.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Editor/editscreen.cpp b/Editor/editscreen.cpp index 19a58fe8..d9464422 100644 --- a/Editor/editscreen.cpp +++ b/Editor/editscreen.cpp @@ -1612,7 +1612,12 @@ void HandleKeyboardShortcuts( ) break; case F4: +#ifdef NEWMUSIC MusicPlay( giMusicID, MUSIC_OLD_TYPE, FALSE ); +#else + MusicPlay( giMusicID ); +#endif + ScreenMsg( FONT_YELLOW, MSG_DEBUG, L"%S", szMusicList[giMusicID] ); giMusicID++; if( giMusicID >= NUM_MUSIC )