summaryrefslogtreecommitdiffstats
path: root/source/Entities/Player.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-04 19:15:20 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-04 19:15:20 +0200
commit6059c44dcba28bf6f3f29893322715c9c2dbe249 (patch)
tree7c1bc8347270d5d1186fd0947a949cc1538e9d60 /source/Entities/Player.cpp
parentPickups are a little less jittery (diff)
downloadcuberite-6059c44dcba28bf6f3f29893322715c9c2dbe249.tar
cuberite-6059c44dcba28bf6f3f29893322715c9c2dbe249.tar.gz
cuberite-6059c44dcba28bf6f3f29893322715c9c2dbe249.tar.bz2
cuberite-6059c44dcba28bf6f3f29893322715c9c2dbe249.tar.lz
cuberite-6059c44dcba28bf6f3f29893322715c9c2dbe249.tar.xz
cuberite-6059c44dcba28bf6f3f29893322715c9c2dbe249.tar.zst
cuberite-6059c44dcba28bf6f3f29893322715c9c2dbe249.zip
Diffstat (limited to 'source/Entities/Player.cpp')
-rw-r--r--source/Entities/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Entities/Player.cpp b/source/Entities/Player.cpp
index 0943f61ff..8356d588e 100644
--- a/source/Entities/Player.cpp
+++ b/source/Entities/Player.cpp
@@ -1182,7 +1182,7 @@ void cPlayer::TossItem(
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);
+ m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY() + 1.6f, GetPosZ(), vX * 3, vY * 3, vZ * 3);
}