diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-08-01 17:29:17 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-08-01 17:29:17 +0200 |
commit | 86d84bcb7391b6a862b53436623b97140529aa83 (patch) | |
tree | c77a7f5e43b05d3771a6382bd49f07d26c79374c | |
parent | Import Statistics.h (diff) | |
download | cuberite-86d84bcb7391b6a862b53436623b97140529aa83.tar cuberite-86d84bcb7391b6a862b53436623b97140529aa83.tar.gz cuberite-86d84bcb7391b6a862b53436623b97140529aa83.tar.bz2 cuberite-86d84bcb7391b6a862b53436623b97140529aa83.tar.lz cuberite-86d84bcb7391b6a862b53436623b97140529aa83.tar.xz cuberite-86d84bcb7391b6a862b53436623b97140529aa83.tar.zst cuberite-86d84bcb7391b6a862b53436623b97140529aa83.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 79ec8c9b6..2d665a06c 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -3,7 +3,6 @@ #include "ClientHandle.h" #include "Server.h" #include "World.h" -#include "Statistics.h" #include "Entities/Pickup.h" #include "Bindings/PluginManager.h" #include "Entities/Player.h" @@ -635,7 +634,7 @@ void cClientHandle::HandlePlayerPos(double a_PosX, double a_PosY, double a_PosZ, if (!m_Player->IsSwimming()) { - m_Player->GetStatManager().AddValue(eStatistic::statJumps, 1); + m_Player->GetStatManager().AddValue(statJumps, 1); m_Player->AddFoodExhaustion(m_Player->IsSprinting() ? 0.8 : 0.2); } } |