summaryrefslogtreecommitdiff
path: root/recipes/quake/files/cl_parse.c.patch
blob: a233d608a4a731bb8663477519759e58265356fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--- quake1src/cl_parse.c~	2003-09-09 14:30:55.000000000 +0100
+++ quake1src/cl_parse.c	2005-05-06 16:02:13.228407752 +0100
@@ -898,14 +898,14 @@
 
 				if (cl.paused)
 				{
-					CDAudio_Pause ();
+//					CDAudio_Pause ();
 #ifdef _WIN32
 					VID_HandlePause (true);
 #endif
 				}
 				else
 				{
-					CDAudio_Resume ();
+//					CDAudio_Resume ();
 #ifdef _WIN32
 					VID_HandlePause (false);
 #endif
@@ -940,14 +940,14 @@
 			CL_ParseStaticSound ();
 			break;
 
-		case svc_cdtrack:
-			cl.cdtrack = MSG_ReadByte ();
-			cl.looptrack = MSG_ReadByte ();
-			if ( (cls.demoplayback || cls.demorecording) && (cls.forcetrack != -1) )
-				CDAudio_Play ((byte)cls.forcetrack, true);
-			else
-				CDAudio_Play ((byte)cl.cdtrack, true);
-			break;
+		case svc_cdtrack:
+			cl.cdtrack = MSG_ReadByte ();
+			cl.looptrack = MSG_ReadByte ();
+//			if ( (cls.demoplayback || cls.demorecording) && (cls.forcetrack != -1) )
+//				CDAudio_Play ((byte)cls.forcetrack, true);
+//			else
+//				CDAudio_Play ((byte)cl.cdtrack, true);
+			break;
 
 		case svc_intermission:
 			cl.intermission = 1;