diff options
Diffstat (limited to 'source/Player.cpp')
-rw-r--r-- | source/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Player.cpp b/source/Player.cpp index 4942db10c..2e05fed26 100644 --- a/source/Player.cpp +++ b/source/Player.cpp @@ -843,7 +843,7 @@ void cPlayer::TossItem( } } } - float vX = 0, vY = 0, vZ = 0; + double vX = 0, vY = 0, vZ = 0; EulerToVector(-GetRotation(), GetPitch(), vZ, vX, vY); vY = -vY * 2 + 1.f; m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY() + 1.6f, GetPosZ(), vX * 2, vY * 2, vZ * 2); |