summaryrefslogtreecommitdiffstats
path: root/source/UI/SlotArea.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-15 20:49:08 +0200
committermadmaxoft <github@xoft.cz>2013-09-15 20:49:08 +0200
commit5cde7d8a29b38360ae36f9e8c5210bee07fce612 (patch)
tree816bbb5c99b9ac3ce64920ccc9e6abd88519c022 /source/UI/SlotArea.cpp
parentMerge branch 'bugfixes' of git://github.com/tigerw/MCServer into tigerw-bugfixes (diff)
parentAdded break (diff)
downloadcuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.tar
cuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.tar.gz
cuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.tar.bz2
cuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.tar.lz
cuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.tar.xz
cuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.tar.zst
cuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.zip
Diffstat (limited to 'source/UI/SlotArea.cpp')
-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);
}