1
0
forked from 0ad/0ad

Fix rotation interpolation. Refs #1846.

This was SVN commit r13243.
This commit is contained in:
Jonathan Waller 2013-03-08 19:34:55 +00:00
parent d76f570a69
commit 8777f68aa0

View File

@ -444,6 +444,9 @@ public:
// Calculate new orientation, in a peculiar way in order to make sure the
// result gets close to m_orientation (rather than being n*2*M_PI out)
m_InterpolatedRotY = rotY + deltaClamped - delta;
if (delta != 0)
m_PositionChanged = true;
break;
}