summaryrefslogtreecommitdiffstats
path: root/src/Entities/Pickup.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-17 22:59:02 +0200
committermadmaxoft <github@xoft.cz>2014-07-17 23:16:54 +0200
commitd0cc9aedb3e63d39324c52b6385406f362ab41b7 (patch)
tree20aed08f8932927b94735cf6d996f7d6ea375f46 /src/Entities/Pickup.cpp
parentPlayer.cpp: Fixed compile error (diff)
downloadcuberite-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 '')
-rw-r--r--src/Entities/Pickup.cpp2
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;