]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
fixed monster interpolation in normal quake, which makes dpcrush not lerped unfortunately
[xonotic/darkplaces.git] / cl_parse.c
index 82f7f90b3370a112ebd655a058d6dc1160c65043..4719d72673ee43277f6fdd591c91b8386839700b 100644 (file)
@@ -644,12 +644,13 @@ void CL_ParseUpdate (int bits)
                new.time = ent->state_current.time;
                if (memcmp(&new, &ent->state_current, sizeof(entity_state_t)))
                {
+                       // set it back to what it should be
+                       new.time = cl.mtime[0] + 0.1;
                        // state has changed
                        ent->state_previous = ent->state_current;
                        ent->state_current = new;
                        // assume 10fps animation
-                       ent->state_previous.time = cl.mtime[0];
-                       ent->state_current.time = cl.mtime[0] + 0.1; //ent->state_previous.time + 0.1;
+                       //ent->state_previous.time = cl.mtime[0] - 0.1;
                }
        }
        else