summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-07-15 15:58:28 +0200
committerAlexander Harkness <me@bearbin.net>2015-07-15 15:58:28 +0200
commit2603013d79cd0a9ddb7a457a465857d2a3b11970 (patch)
tree28c537f1dfa2665e21985c54bb451ab91b4f9735 /src
parentMerge pull request #2340 from hallucino/ageable-mobs (diff)
parentFixed bad logic. (diff)
downloadcuberite-2603013d79cd0a9ddb7a457a465857d2a3b11970.tar
cuberite-2603013d79cd0a9ddb7a457a465857d2a3b11970.tar.gz
cuberite-2603013d79cd0a9ddb7a457a465857d2a3b11970.tar.bz2
cuberite-2603013d79cd0a9ddb7a457a465857d2a3b11970.tar.lz
cuberite-2603013d79cd0a9ddb7a457a465857d2a3b11970.tar.xz
cuberite-2603013d79cd0a9ddb7a457a465857d2a3b11970.tar.zst
cuberite-2603013d79cd0a9ddb7a457a465857d2a3b11970.zip
Diffstat (limited to 'src')
-rw-r--r--src/Blocks/BlockSignPost.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockSignPost.h b/src/Blocks/BlockSignPost.h
index 99c000633..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) : (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;
}
} ;