diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2016-11-13 20:00:01 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2016-11-13 20:00:01 +0100 |
commit | 944fdd173f40c0fcc718d6aa2af191bf993adc70 (patch) | |
tree | 28436adf7e20c58427c8d48685d944b964e11147 /src/Blocks/BlockEnderchest.h | |
parent | Merge pull request #3430 from cuberite/Overrides (diff) | |
download | cuberite-WarningsFixes.tar cuberite-WarningsFixes.tar.gz cuberite-WarningsFixes.tar.bz2 cuberite-WarningsFixes.tar.lz cuberite-WarningsFixes.tar.xz cuberite-WarningsFixes.tar.zst cuberite-WarningsFixes.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockEnderchest.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Blocks/BlockEnderchest.h b/src/Blocks/BlockEnderchest.h index b5f015ff4..73eebc367 100644 --- a/src/Blocks/BlockEnderchest.h +++ b/src/Blocks/BlockEnderchest.h @@ -38,11 +38,11 @@ public: { a_Rotation += 90 + 45; // So its not aligned with axis - if (a_Rotation > 360.f) + if (a_Rotation > 360) { - a_Rotation -= 360.f; + a_Rotation -= 360; } - if ((a_Rotation >= 0.f) && (a_Rotation < 90.f)) + if ((a_Rotation >= 0) && (a_Rotation < 90)) { return 0x4; } |