diff --git a/source/src/entity.h b/source/src/entity.h index 490097ad..d68e574d 100644 --- a/source/src/entity.h +++ b/source/src/entity.h @@ -121,6 +121,7 @@ struct dynent : physent // animated ent animstate prev[2], current[2]; // md2's need only [0], md3's need both for the lower&upper model int lastanimswitchtime[2]; void *lastmodel[2]; + int lastrendered = 0; void stopmoving() { @@ -137,6 +138,7 @@ struct dynent : physent // animated ent lastanimswitchtime[i] = -1; lastmodel[i] = NULL; } + lastrendered = 0; } void reset()