summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-05-16 17:58:43 +0200
committerAlexander Harkness <me@bearbin.net>2015-05-16 17:58:43 +0200
commitc9880b9cb5e2a1c35c2304a4bf9c436411fc671b (patch)
tree771d24256bd70212bccf0dde62cc5ba4737ada1e
parentShould Fix sign flipping. (diff)
downloadcuberite-c9880b9cb5e2a1c35c2304a4bf9c436411fc671b.tar
cuberite-c9880b9cb5e2a1c35c2304a4bf9c436411fc671b.tar.gz
cuberite-c9880b9cb5e2a1c35c2304a4bf9c436411fc671b.tar.bz2
cuberite-c9880b9cb5e2a1c35c2304a4bf9c436411fc671b.tar.lz
cuberite-c9880b9cb5e2a1c35c2304a4bf9c436411fc671b.tar.xz
cuberite-c9880b9cb5e2a1c35c2304a4bf9c436411fc671b.tar.zst
cuberite-c9880b9cb5e2a1c35c2304a4bf9c436411fc671b.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockSignPost.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockSignPost.h b/src/Blocks/BlockSignPost.h
index 47a6301ae..f1244394e 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) : (0x18 - a_Meta);
+ return (a_Meta < 0x08) ? (0x08 - a_Meta) : (0x18 - a_Meta);
}