From adad3420505b8ff73ccc5a9ad7691992e6e5dfce Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 1 Nov 2008 15:57:49 +0000 Subject: [PATCH] fix broken demos with csqc code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8542 d7cf8633-e32d-0410-b094-e92efae38249 --- csprogs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csprogs.c b/csprogs.c index 49eaafc6..203e1070 100644 --- 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); -- 2.39.2