fix broken demos with csqc code
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 1 Nov 2008 15:57:49 +0000 (15:57 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 1 Nov 2008 15:57:49 +0000 (15:57 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8542 d7cf8633-e32d-0410-b094-e92efae38249

csprogs.c

index 49eaafc..203e107 100644 (file)
--- a/csprogs.c
+++ b/csprogs.c
@@ -825,7 +825,7 @@ void CL_VM_Init (void)
                        i = 0;
 
                        CL_CutDemo(&demobuf, &demofilesize);
-                       while(MakeDownloadPacket(csprogsfn, csprogsdata, csprogsdatasize, csprogsdatacrc, i++, &sb, cls.protocol))
+                       while(MakeDownloadPacket(csqc_progname.string, csprogsdata, csprogsdatasize, csprogsdatacrc, i++, &sb, cls.protocol))
                                CL_WriteDemoMessage(&sb);
                        CL_PasteDemo(&demobuf, &demofilesize);