diff options
author | madmaxoft <github@xoft.cz> | 2014-07-17 22:59:02 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-17 23:16:54 +0200 |
commit | d0cc9aedb3e63d39324c52b6385406f362ab41b7 (patch) | |
tree | 20aed08f8932927b94735cf6d996f7d6ea375f46 /src/Entities/Pickup.cpp | |
parent | Player.cpp: Fixed compile error (diff) | |
download | cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.gz cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.bz2 cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.lz cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.xz cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.zst cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.zip |
Diffstat (limited to 'src/Entities/Pickup.cpp')
-rw-r--r-- | src/Entities/Pickup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Pickup.cpp b/src/Entities/Pickup.cpp index ab0f856dd..18df1a210 100644 --- a/src/Entities/Pickup.cpp +++ b/src/Entities/Pickup.cpp @@ -143,7 +143,7 @@ void cPickup::Tick(float a_Dt, cChunk & a_Chunk) m_bCollected = true; m_Timer = 0; // We have to reset the timer. m_Timer += a_Dt; // In case we have to destroy the pickup in the same tick. - if (m_Timer > 500.f) + if (m_Timer > 500.f) { Destroy(true); return; |