summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/ItemFrame.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Entities/ItemFrame.cpp b/src/Entities/ItemFrame.cpp
index e4e50bd8d..65b0edb25 100644
--- a/src/Entities/ItemFrame.cpp
+++ b/src/Entities/ItemFrame.cpp
@@ -48,7 +48,9 @@ void cItemFrame::OnRightClicked(cPlayer & a_Player)
// Item not empty, rotate, clipping values to zero to three inclusive
m_Rotation++;
if (m_Rotation >= 4)
+ {
m_Rotation = 0;
+ }
}
else if (!a_Player.GetEquippedItem().IsEmpty())
{