1
0

Fixed Endiannes conversion routines for floats and doubles.

This bug has been introduced in 8825d30aab.
This change fixes #854.
This commit is contained in:
madmaxoft
2014-04-05 22:34:05 +02:00
parent 22794e7208
commit 143a5e61fc
2 changed files with 3 additions and 3 deletions

View File

@@ -1469,7 +1469,7 @@ void cEntity::SteerVehicle(float a_Forward, float a_Sideways)
Vector3d cEntity::GetLookVector(void) const
{
Matrix4d m;
m.Init(Vector3f(), 0, m_Rot.x, -m_Rot.y);
m.Init(Vector3d(), 0, m_Rot.x, -m_Rot.y);
Vector3d Look = m.Transform(Vector3d(0, 0, 1));
return Look;
}