mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
correct a couple function calls
This commit is contained in:
parent
e4410cd914
commit
9038ae2be9
1 changed files with 5 additions and 5 deletions
|
@ -309,7 +309,7 @@ I_OGGMus_Info (void)
|
|||
Sys_DPrintf ("Highest Track number = %i.\n", highesttrack);
|
||||
|
||||
/* allocate a null terminated array of char *'s */
|
||||
mapoutput = calloc (highesttrack + 1, sizeof (char*));
|
||||
mapoutput = calloc (highesttrack + 1, sizeof (char *));
|
||||
if (!mapoutput)
|
||||
Sys_Error ("couldn't allocate mapoutput array!\n");
|
||||
|
||||
|
@ -392,12 +392,12 @@ I_OGG_f (void)
|
|||
}
|
||||
|
||||
if (strequal (command, "play")) {
|
||||
CDAudio_Play (atoi (Cmd_Argv (2)), false);
|
||||
I_OGGMus_Play (atoi (Cmd_Argv (2)), false);
|
||||
return;
|
||||
}
|
||||
|
||||
if (strequal (command, "loop")) {
|
||||
CDAudio_Play (atoi (Cmd_Argv (2)), true);
|
||||
I_OGGMus_Play (atoi (Cmd_Argv (2)), true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -407,12 +407,12 @@ I_OGG_f (void)
|
|||
}
|
||||
|
||||
if (strequal (command, "pause")) {
|
||||
CDAudio_Pause ();
|
||||
I_OGGMus_Pause ();
|
||||
return;
|
||||
}
|
||||
|
||||
if (strequal (command, "resume")) {
|
||||
CDAudio_Resume ();
|
||||
I_OGGMus_Resume ();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue