Disable music when entering the scenerio_editor.

This commit is contained in:
Justin Marshall
2020-06-07 19:09:41 -07:00
parent a0efe3a4ec
commit 02862df035
4 changed files with 16 additions and 3 deletions
+3 -1
View File
@@ -104,6 +104,7 @@ TcpipManagerClass Winsock;
#include "ccdde.h"
#include "vortex.h"
#include "VQAMOVIE.H"
#include "AUDIOMIX.H"
#ifdef WOLAPI_INTEGRATION
//#include "WolDebug.h"
@@ -2537,6 +2538,7 @@ void Go_Editor(bool flag)
** Go into Scenario Editor mode
*/
if (flag) {
AudMix_SetMusicState(false); // jmarshall: disable music if we are in editor mode
Debug_Map = true;
Debug_Unshroud = true;
@@ -2567,7 +2569,7 @@ void Go_Editor(bool flag)
Map.Render();
} else {
AudMix_SetMusicState(true); // jmarshall: enable music if we are going back into editor mode.
/*
** Go into normal game mode
*/