- moved the menu.h include from oalsound.h to oalsound.cpp.

The menu is a very 'dirty' header, and forcing it to be pulled in with something entirely unrelated is not good - even though only two files include oalsound.h.
This commit is contained in:
Christoph Oelckers 2019-01-31 19:44:04 +01:00
parent f6a91e1722
commit c77487dab8
3 changed files with 3 additions and 1 deletions

View File

@ -46,6 +46,8 @@
#include "i_music.h"
#include "m_argv.h"
#include "v_text.h"
#include "c_cvars.h"
#include "stats.h"
EXTERN_CVAR (Float, snd_sfxvolume)
CVAR (Int, snd_samplerate, 0, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)

View File

@ -44,6 +44,7 @@
#include "i_music.h"
#include "i_musicinterns.h"
#include "cmdlib.h"
#include "menu/menu.h"
FModule OpenALModule{"OpenAL"};

View File

@ -9,7 +9,6 @@
#include "i_sound.h"
#include "s_sound.h"
#include "menu/menu.h"
#ifndef NO_OPENAL