mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
add the new bgm_extmusic cvar to bgmnull.c, too.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@385 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
c443de78cc
commit
fb42d29443
1 changed files with 2 additions and 0 deletions
|
@ -27,11 +27,13 @@
|
||||||
#include "bgmusic.h"
|
#include "bgmusic.h"
|
||||||
|
|
||||||
qboolean bgmloop = true;
|
qboolean bgmloop = true;
|
||||||
|
cvar_t bgm_extmusic = {"bgm_extmusic", "1", true};
|
||||||
|
|
||||||
static float old_volume = -1.0f;
|
static float old_volume = -1.0f;
|
||||||
|
|
||||||
qboolean BGM_Init (void)
|
qboolean BGM_Init (void)
|
||||||
{
|
{
|
||||||
|
Cvar_RegisterVariable(&bgm_extmusic, NULL);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue