Skip to content

Commit

Permalink
hotfix for fdf206e - i broke the MSVC build :(
Browse files Browse the repository at this point in the history
  • Loading branch information
Razish committed Sep 2, 2022
1 parent fdf206e commit 034057e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/client/snd_dma.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ void S_Init( void ) {
Cmd_AddCommand("s_dynamic", S_SetDynamicMusic_f);

#ifdef USE_OPENAL
cv = Cvar_Get("s_UseOpenAL" , "0",CVAR_ARCHIVE|CVAR_LATCH);
cvar_t *cv = Cvar_Get("s_UseOpenAL" , "0",CVAR_ARCHIVE|CVAR_LATCH);
s_UseOpenAL = !!(cv->integer);

if (s_UseOpenAL)
Expand Down
2 changes: 1 addition & 1 deletion codemp/client/snd_dma.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ void S_Init( void ) {
Cmd_AddCommand("s_dynamic", S_SetDynamicMusic_f, "Change dynamic music state" );

#ifdef USE_OPENAL
cv = Cvar_Get("s_UseOpenAL" , "0",CVAR_ARCHIVE|CVAR_LATCH);
cvar_t *cv = Cvar_Get("s_UseOpenAL" , "0",CVAR_ARCHIVE|CVAR_LATCH);
s_UseOpenAL = !!(cv->integer);

if (s_UseOpenAL)
Expand Down

0 comments on commit 034057e

Please sign in to comment.