]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fixed monster interpolation in normal quake, which makes dpcrush not lerped unfortunately
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 3 Feb 2002 10:32:34 +0000 (10:32 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 3 Feb 2002 10:32:34 +0000 (10:32 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1482 d7cf8633-e32d-0410-b094-e92efae38249

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