Fix an oversight in CcmpPosition from the turret changes. Reported on IRC by Falsevision.

This was SVN commit r15550.
This commit is contained in:
wraitii 2014-07-23 13:02:42 +00:00
parent a5ebd8dafd
commit 600e0a4081

View File

@ -582,7 +582,7 @@ public:
if (cmpPosition)
y += cmpPosition->GetRotation().Y;
}
return CFixedVector3D(m_RotX, m_RotY, m_RotZ);
return CFixedVector3D(m_RotX, y, m_RotZ);
}
virtual fixed GetDistanceTravelled()