diff options
author | Alexander Harkness <me@bearbin.net> | 2015-05-16 17:49:47 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2015-05-16 17:49:47 +0200 |
commit | bda9b3e342f74e0c98136dcd8b22ba707fa17810 (patch) | |
tree | b1504e0d14bf982671c7029c83d522d7440fa7b4 /src/Blocks | |
parent | Merge pull request #2029 from mc-server/bedPatch (diff) | |
download | cuberite-bda9b3e342f74e0c98136dcd8b22ba707fa17810.tar cuberite-bda9b3e342f74e0c98136dcd8b22ba707fa17810.tar.gz cuberite-bda9b3e342f74e0c98136dcd8b22ba707fa17810.tar.bz2 cuberite-bda9b3e342f74e0c98136dcd8b22ba707fa17810.tar.lz cuberite-bda9b3e342f74e0c98136dcd8b22ba707fa17810.tar.xz cuberite-bda9b3e342f74e0c98136dcd8b22ba707fa17810.tar.zst cuberite-bda9b3e342f74e0c98136dcd8b22ba707fa17810.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockSignPost.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockSignPost.h b/src/Blocks/BlockSignPost.h index 99c000633..47a6301ae 100644 --- a/src/Blocks/BlockSignPost.h +++ b/src/Blocks/BlockSignPost.h @@ -71,7 +71,7 @@ public: // There are 16 meta values which correspond to different directions. // These values are equated to angles on a circle; 0x08 = 180 degrees. - return (a_Meta < 0x08) ? (0x08 + a_Meta) : (0x08 - a_Meta); + return (a_Meta > 0x08) ? (0x08 - a_Meta) : (0x18 - a_Meta); } @@ -81,7 +81,7 @@ public: // There are 16 meta values which correspond to different directions. // These values are equated to angles on a circle; 0x10 = 360 degrees. - return 0x10 - a_Meta; + return 0x0f - a_Meta; } } ; |