]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - csprogs.c
whichpack: distinguish file not found from file is physical.
[xonotic/darkplaces.git] / csprogs.c
index fd2d8f6ebb4d0074cf9b3712e410af8a31ccae1c..e9295bce7cb144dd103e3a533bd5d46949433b44 100644 (file)
--- a/csprogs.c
+++ b/csprogs.c
@@ -227,6 +227,7 @@ static void CSQC_SetGlobals (double frametime)
        prvm_prog_t *prog = CLVM_prog;
        CSQC_BEGIN
                PRVM_clientglobalfloat(time) = cl.time;
+               PRVM_clientglobalfloat(cltime) = realtime; // Spike named it that way.
                PRVM_clientglobalfloat(frametime) = frametime;
                PRVM_clientglobalfloat(servercommandframe) = cls.servermovesequence;
                PRVM_clientglobalfloat(clientcommandframe) = cl.movecmd[0].sequence;