mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 13:23:56 -07:00
parent
d76f570a69
commit
8777f68aa0
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue