mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 18:27:55 +00:00
fixed -musicfocus without CAP_SDLAUDIO
This commit is contained in:
@@ -268,9 +268,9 @@ int read_sound_args() {
|
||||
if(argis("-m")) { PHASE(1); shift(); musicfile = argcs(); }
|
||||
#if CAP_SDLAUDIO
|
||||
else if(argis("-se")) { PHASE(1); shift(); wheresounds = args(); }
|
||||
else if(argis("-musicfocus")) { music_out_of_focus = true; }
|
||||
#endif
|
||||
else if(argis("-svol")) { PHASEFROM(2); shift(); effvolume = argi(); }
|
||||
else if(argis("-musicfocus")) { music_out_of_focus = true; }
|
||||
else return 1;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user