diff options
author | madmaxoft <github@xoft.cz> | 2014-04-05 22:34:05 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-05 22:34:05 +0200 |
commit | 143a5e61fc8e704f3df776d089217f031bc47779 (patch) | |
tree | a5edd697f377f44aa469b2d81a19b9cd90187d9b /src/Entities | |
parent | Fixed double projectile spawning. (diff) | |
download | cuberite-143a5e61fc8e704f3df776d089217f031bc47779.tar cuberite-143a5e61fc8e704f3df776d089217f031bc47779.tar.gz cuberite-143a5e61fc8e704f3df776d089217f031bc47779.tar.bz2 cuberite-143a5e61fc8e704f3df776d089217f031bc47779.tar.lz cuberite-143a5e61fc8e704f3df776d089217f031bc47779.tar.xz cuberite-143a5e61fc8e704f3df776d089217f031bc47779.tar.zst cuberite-143a5e61fc8e704f3df776d089217f031bc47779.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Entity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 221cbbea7..8ef45f1a5 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -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; } |