summaryrefslogtreecommitdiffstats
path: root/source/UI
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-09 20:28:50 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-09 20:28:50 +0200
commit30ac3f583849f68ea7a29df5be6c53b3ef1fe26d (patch)
tree636b62f5bc6159b617f7f11af5db7a86d40a237f /source/UI
parentA few Minecart fixes (diff)
downloadcuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.tar
cuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.tar.gz
cuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.tar.bz2
cuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.tar.lz
cuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.tar.xz
cuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.tar.zst
cuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.zip
Diffstat (limited to 'source/UI')
-rw-r--r--source/UI/SlotArea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/UI/SlotArea.cpp b/source/UI/SlotArea.cpp
index 9213d4ff8..0a37e82b0 100644
--- a/source/UI/SlotArea.cpp
+++ b/source/UI/SlotArea.cpp
@@ -793,7 +793,7 @@ void cSlotAreaTemporary::TossItems(cPlayer & a_Player, int a_Begin, int a_End)
double vX = 0, vY = 0, vZ = 0;
EulerToVector(-a_Player.GetRotation(), a_Player.GetPitch(), vZ, vX, vY);
vY = -vY * 2 + 1.f;
- a_Player.GetWorld()->SpawnItemPickups(Drops, a_Player.GetPosX(), a_Player.GetPosY() + 1.6f, a_Player.GetPosZ(), vX * 2, vY * 2, vZ * 2);
+ a_Player.GetWorld()->SpawnItemPickups(Drops, a_Player.GetPosX(), a_Player.GetPosY() + 1.6f, a_Player.GetPosZ(), vX * 3, vY * 3, vZ * 3);
}