summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornarroo <narroo@vt.edu>2014-03-26 18:25:10 +0100
committernarroo <narroo@vt.edu>2014-03-26 18:25:10 +0100
commit6553c8ff447a1e006095dc7e5aad76b37c410038 (patch)
tree0a099074c17c120d947063178ecbe6814f0881ed
parentFixed Minor typos. (diff)
downloadcuberite-6553c8ff447a1e006095dc7e5aad76b37c410038.tar
cuberite-6553c8ff447a1e006095dc7e5aad76b37c410038.tar.gz
cuberite-6553c8ff447a1e006095dc7e5aad76b37c410038.tar.bz2
cuberite-6553c8ff447a1e006095dc7e5aad76b37c410038.tar.lz
cuberite-6553c8ff447a1e006095dc7e5aad76b37c410038.tar.xz
cuberite-6553c8ff447a1e006095dc7e5aad76b37c410038.tar.zst
cuberite-6553c8ff447a1e006095dc7e5aad76b37c410038.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockSign.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockSign.h b/src/Blocks/BlockSign.h
index 82d9a2fcc..24346b930 100644
--- a/src/Blocks/BlockSign.h
+++ b/src/Blocks/BlockSign.h
@@ -75,13 +75,13 @@ public:
virtual NIBBLETYPE MetaRotateCW(NIBBLETYPE a_Meta) override
{
- return ++a_Meta;
+ return (++a_Meta) & 0x0F;
}
virtual NIBBLETYPE MetaRotateCCW(NIBBLETYPE a_Meta) override
{
- return --a_Meta;
+ return (--a_Meta) & 0x0F;
}
} ;