]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_video.c
cleaned up the fix for solid water in q1bsp dedicated servers
[xonotic/darkplaces.git] / cl_video.c
index 28be575a0a5d587888d9789e6e6ee4726a8c3186..4e37eb7548dc46ab6220bacb921991c93e34ff79 100644 (file)
@@ -613,6 +613,9 @@ static void CL_PlayVideo_f(void)
 
        Host_StartVideo();
 
+       if (COM_CheckParm("-benchmark"))
+               return;
+
        if (Cmd_Argc() < 2)
        {
                Con_Print("usage: playvideo <videoname> [custom_subtitles_file]\nplays video named video/<videoname>.dpv\nif custom subtitles file is not presented\nit tries video/<videoname>.sub");