mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
Selten spielte nach "load" OGG nicht. Das ist nun repariert
This commit is contained in:
parent
e69506dd19
commit
785af02361
1 changed files with 9 additions and 1 deletions
|
@ -838,7 +838,15 @@ void CL_ParseConfigString (void) {
|
|||
else if (i == CS_CDTRACK) {
|
||||
if (cl.refresh_prepped) {
|
||||
CDAudio_Play (atoi(cl.configstrings[CS_CDTRACK]), true);
|
||||
OGG_ResumeCmd();
|
||||
|
||||
/* OGG/Vorbis */
|
||||
if (atoi(cl.configstrings[CS_CDTRACK]) < 10) {
|
||||
char tmp[3] = "0";
|
||||
OGG_ParseCmd(strcat(tmp, cl.configstrings[CS_CDTRACK]));
|
||||
|
||||
} else {
|
||||
OGG_ParseCmd(cl.configstrings[CS_CDTRACK]);
|
||||
}
|
||||
}
|
||||
|
||||
} else if (i >= CS_MODELS && i < CS_MODELS+MAX_MODELS) {
|
||||
|
|
Loading…
Reference in a new issue