]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_lerpanim.c
you can now (try to) play in maps you don't have, and models you don't have are shown...
[xonotic/darkplaces.git] / r_lerpanim.c
index fe8f2495f90a21b03e3e1cc69cb7b1ec5afde077..753e4af25fe51c7269174cb1d30cad83af92fd73 100644 (file)
@@ -10,6 +10,10 @@ void R_LerpAnimation(entity_render_t *r)
        double sublerp, lerp, d;
        animscene_t *scene;
        frameblend_t *blend;
+
+       if (!r->model)
+               return;
+
        blend = r->frameblend;
 
        numframes = r->model->numframes;