]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - csprogs.c
Added a couple todo items related to pq_fullpitch
[xonotic/darkplaces.git] / csprogs.c
index b1598ddadd97a68df5172545aaec41f2dd251e63..fa364ce7b1e00e8bfa861b2d55280665cb61d6cf 100644 (file)
--- a/csprogs.c
+++ b/csprogs.c
@@ -1145,6 +1145,9 @@ void CL_VM_Init (void)
        // call the prog init
        prog->ExecuteProgram(prog, PRVM_clientfunction(CSQC_Init), "QC function CSQC_Init is missing");
 
+       // Once CSQC_Init was called, we consider csqc code fully initialized.
+       prog->inittime = realtime;
+
        cl.csqc_loaded = true;
 
        cl.csqc_vidvars.drawcrosshair = false;