diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-10-24 08:36:25 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-10-24 08:36:25 +0200 |
commit | 54f5f71c9a3eb1d7d7516cc750e4bffba86bd585 (patch) | |
tree | 1ff9d4a148086e34f5b78751ec51d470928448ca /source/Entities/Player.cpp | |
parent | APIDump: Added cChatColor constants. (diff) | |
parent | Pickups now have collection delay when vomited (diff) | |
download | cuberite-54f5f71c9a3eb1d7d7516cc750e4bffba86bd585.tar cuberite-54f5f71c9a3eb1d7d7516cc750e4bffba86bd585.tar.gz cuberite-54f5f71c9a3eb1d7d7516cc750e4bffba86bd585.tar.bz2 cuberite-54f5f71c9a3eb1d7d7516cc750e4bffba86bd585.tar.lz cuberite-54f5f71c9a3eb1d7d7516cc750e4bffba86bd585.tar.xz cuberite-54f5f71c9a3eb1d7d7516cc750e4bffba86bd585.tar.zst cuberite-54f5f71c9a3eb1d7d7516cc750e4bffba86bd585.zip |
Diffstat (limited to 'source/Entities/Player.cpp')
-rw-r--r-- | source/Entities/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Entities/Player.cpp b/source/Entities/Player.cpp index d93b45614..e06281998 100644 --- a/source/Entities/Player.cpp +++ b/source/Entities/Player.cpp @@ -1183,7 +1183,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 * 3, vY * 3, vZ * 3); + m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY() + 1.6f, GetPosZ(), vX * 3, vY * 3, vZ * 3, true); // 'true' because created by player } |