]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
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 49eaafc679f5fe01c4038575c7d9c4fc78adcc5f..203e107056862d9f5c0d712431874f543a85d34d 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);