fix playback of demos after playing on a quakeworld server
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 25 May 2006 03:41:51 +0000 (03:41 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 25 May 2006 03:41:51 +0000 (03:41 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6374 d7cf8633-e32d-0410-b094-e92efae38249

cl_demo.c

index 1e7773f..627ccd1 100644 (file)
--- a/cl_demo.c
+++ b/cl_demo.c
@@ -336,6 +336,7 @@ void CL_PlayDemo_f (void)
        // open the demo file
        strlcpy (name, Cmd_Argv(1), sizeof (name));
        FS_DefaultExtension (name, ".dem", sizeof (name));
+       cls.protocol = PROTOCOL_QUAKE;
 
        Con_Printf("Playing demo from %s.\n", name);
        cls.demofile = FS_Open (name, "rb", false, false);