diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-26 22:23:36 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-26 22:23:36 +0200 |
commit | af997a09ca1ff2bf3e93f9145edc50d29be28529 (patch) | |
tree | 8188753488f633407eea5aab0c9e6e0833300e43 /src/Entities/Player.cpp | |
parent | Fixed players custom name in 1.8 (diff) | |
parent | Merge pull request #1455 from mc-server/includes (diff) | |
download | cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.tar cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.tar.gz cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.tar.bz2 cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.tar.lz cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.tar.xz cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.tar.zst cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.zip |
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r-- | src/Entities/Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 6875506ea..66da14c0c 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -2061,8 +2061,8 @@ void cPlayer::UpdateMovementStats(const Vector3d & a_DeltaPos) cMonster * Monster = (cMonster *)m_AttachedTo; switch (Monster->GetMobType()) { - case cMonster::mtPig: m_Stats.AddValue(statDistPig, Value); break; - case cMonster::mtHorse: m_Stats.AddValue(statDistHorse, Value); break; + case mtPig: m_Stats.AddValue(statDistPig, Value); break; + case mtHorse: m_Stats.AddValue(statDistHorse, Value); break; default: break; } break; |