]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_shared.c
changed particle trail handling so that the TE_TEI_G3 effect can spawn particles...
[xonotic/darkplaces.git] / vid_shared.c
index d5f9299675132e4a74ae4045fa471da5701c552c..5a66af884d46d6e93994035c4c8c7715c3b48987 100644 (file)
@@ -803,13 +803,13 @@ void VID_UpdateGamma(qboolean force, int rampsize)
 
                        for (x = 0;x < 3;x++)
                        {
-                               nt[x] -= host_realframetime;
+                               nt[x] -= cl.realframetime;
                                if (nt[x] < 0)
                                {
                                        nd[x] = -nd[x];
                                        nt[x] += lhrandom(1, 8.2);
                                }
-                               n[x] += nd[x] * host_realframetime;
+                               n[x] += nd[x] * cl.realframetime;
                                n[x] -= floor(n[x]);
                        }