diff --git a/source/core/coreactor.h b/source/core/coreactor.h index 729c664c4..9c77979ad 100644 --- a/source/core/coreactor.h +++ b/source/core/coreactor.h @@ -42,7 +42,7 @@ public: spritesmooth_t spsmooth; DVector3 opos; - DAngle oang; + DRotator PrevAngles; DVector3 vel; double oviewzoffset, viewzoffset; double clipdist; @@ -98,7 +98,7 @@ public: DAngle interpolatedangle(double const interpfrac) { - return interpolatedvalue(oang, spr.Angles.Yaw, interpfrac); + return interpolatedvalue(PrevAngles.Yaw, spr.Angles.Yaw, interpfrac); } void backupz() @@ -120,7 +120,7 @@ public: void backupang() { - oang = spr.Angles.Yaw; + PrevAngles.Yaw = spr.Angles.Yaw; } void backuploc()