summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockChest.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockChest.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Blocks/BlockChest.h b/src/Blocks/BlockChest.h
index 2c34beeeb..70bb05889 100644
--- a/src/Blocks/BlockChest.h
+++ b/src/Blocks/BlockChest.h
@@ -142,11 +142,11 @@ public:
{
a_Yaw += 90 + 45; // So its not aligned with axis
- if (a_Yaw > 360.f)
+ if (a_Yaw > 360)
{
- a_Yaw -= 360.f;
+ a_Yaw -= 360;
}
- if ((a_Yaw >= 0.f) && (a_Yaw < 90.f))
+ if ((a_Yaw >= 0) && (a_Yaw < 90))
{
return 0x04;
}