- fixed: Model rotation should use the time of the current frame's start, not the time of the time of processing the particular actor.

Reading the time directly would result in different values for different viewpoints in a scene or for different objects in the same scene which is not how this is supposed to work.
This commit is contained in:
Christoph Oelckers 2017-11-12 12:04:11 +01:00
parent d9808e6d68
commit e50b012c87

View file

@ -55,7 +55,7 @@
static inline float GetTimeFloat()
{
return (float)I_MSTime() * (float)TICRATE / 1000.0f;
return (float)gl_frameMS * (float)TICRATE / 1000.0f;
}
CVAR(Bool, gl_interpolate_model_frames, true, CVAR_ARCHIVE)