summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-11 20:06:28 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-11 20:06:28 +0200
commitc45bf7cf55cac42fd168df6d008cb814dd94eae1 (patch)
treedcd019680077936254c211ee27f45ec5a09c1785 /src/Entities
parent1.8: Added ParticleEffect packet. (diff)
downloadcuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.tar
cuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.tar.gz
cuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.tar.bz2
cuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.tar.lz
cuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.tar.xz
cuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.tar.zst
cuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.zip
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/ItemFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/ItemFrame.cpp b/src/Entities/ItemFrame.cpp
index 0bc10ec60..7f923ef61 100644
--- a/src/Entities/ItemFrame.cpp
+++ b/src/Entities/ItemFrame.cpp
@@ -26,7 +26,7 @@ void cItemFrame::OnRightClicked(cPlayer & a_Player)
{
// Item not empty, rotate, clipping values to zero to three inclusive
m_Rotation++;
- if (m_Rotation >= 4)
+ if (m_Rotation >= 8)
{
m_Rotation = 0;
}